summaryrefslogtreecommitdiffstats
path: root/parser.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-08-18 11:47:03 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-08-18 11:47:03 -0700
commit564fd080c753f20ce16c321c6ff94ae28a468df4 (patch)
tree1cd8738c011a6ffec77fa1f157001d6dd88f615d /parser.h
parentf35b7f1f7df5b61ab54674f88c1eea1ffbe6b908 (diff)
downloadtxr-564fd080c753f20ce16c321c6ff94ae28a468df4.tar.gz
txr-564fd080c753f20ce16c321c6ff94ae28a468df4.tar.bz2
txr-564fd080c753f20ce16c321c6ff94ae28a468df4.zip
parser: rename circ_suppress flag.
* parser.h (struct parser): eof flag changed to unsigned char. circ_suppress flag renamed to ignore, changed to unsigned char and relocated next to eof to compact together. * parser.c (parser_circ_ref): Follow rename. * parser.y (hash_semi_or_n_expr, hash_semi_or_i_expr, n_exprs, parse): Likewise.
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.h b/parser.h
index ff2738f3..94c432db 100644
--- a/parser.h
+++ b/parser.h
@@ -50,7 +50,8 @@ struct parser {
val parser;
cnum lineno;
int errors;
- int eof;
+ unsigned char eof;
+ unsigned char ignore;
val stream;
val name;
val prepared_msg;
@@ -58,7 +59,6 @@ struct parser {
int quasi_level;
val circ_ref_hash;
cnum circ_count;
- int circ_suppress;
scanner_t *scanner;
struct yy_token recent_tok;
struct yy_token tok_pushback[4];