You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing getline is tricky, and I needed to add a PeekByte function to
the lexer so the parser can tell the difference between "getline foo"
and "getline foo()".
There are still a few arcane forms not supported by GoAWK (see
commented-out interp tests), but most forms are supported now.
Also ensure data returned by getline is treated as numeric string.
"getline": true, // getline syntax issues (may be okay, see grammar notes at http://pubs.opengroup.org/onlinepubs/007904975/utilities/awk.html#tag_04_06_13_14)
224
222
"getline3": true, // getline syntax issues (similar to above)
225
223
"getline5": true, // getline syntax issues (similar to above)
224
+
"inputred": true, // getline syntax issues (similar to above)
226
225
227
226
"gsubtst7": true, // something wrong with gsub or field split/join
228
227
"splitwht": true, // other awks handle split(s, a, " ") differently from split(s, a, / /)
0 commit comments