BrettMayson / HEMTT

Build System for Arma 3
http://hemtt.dev/
GNU General Public License v2.0
113 stars 40 forks source link

Commas in strings errors preprocessor (v10-a14) #457

Closed jonpas closed 1 year ago

jonpas commented 1 year ago
ERROR_3("JNI failed (result: %1, return: %2, error: %3)",_result,_returnCode,_errorCode);

Results in expected 4 got 6. Removing commas fixes the error.


Brett on ACE Discord:

https://github.com/BrettMayson/HEMTT/blob/main/libs/preprocessor/src/lib.rs#L533 yeah missing a check for being in a string

BrettMayson commented 1 year ago

Fixed in d95e3b5bbf4d61f3e4de0d78b58a5e774396db61