Closed wavid-b closed 2 weeks ago
can add screenshots of the other bugged cases if needed
I think the problem is we are not treating function calls as statements.
The following script parses correctly:
BEGIN { a = strcmp((arg0, arg1), "bookings"); }
user-defined fn calls are being parsed as statements though, thats why I don't get it being different for strcmp. I'll check some more edge cases though
a = strcmp((arg0, arg1), "bookings");
is working correctly in all 3 spaces, but not without the "a"