fixed a couple of awk parsing bugs
- lost token in an expression like bash | xyz + 20 for the way preget_token() was used. - wrong redirection handling in an expression like print 1,2,3 > (4)
This commit is contained in:
@ -180,6 +180,13 @@ struct qse_awk_t
|
||||
|
||||
/* maximum number of local variables */
|
||||
qse_size_t nlcls_max;
|
||||
|
||||
/* some data to find if an expression is
|
||||
* enclosed in parentheses or not.
|
||||
* see parse_primary_lparen() and parse_print() in parse.c
|
||||
*/
|
||||
qse_size_t lparen_seq;
|
||||
qse_size_t lparen_last_closed;
|
||||
} parse;
|
||||
|
||||
/* source code management */
|
||||
|
Reference in New Issue
Block a user