summaryrefslogtreecommitdiffstats
path: root/parser.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-08-19 07:48:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-08-19 07:48:33 -0700
commit1cf78b42b2ebbb16b33e16f0bb3c1f1dc2b3b26f (patch)
tree8239cebd4be8014d3f36f3abb3726782853a6a93 /parser.h
parent055ea6cbe74203568d6e038298725fb0f97bfbfe (diff)
downloadtxr-1cf78b42b2ebbb16b33e16f0bb3c1f1dc2b3b26f.tar.gz
txr-1cf78b42b2ebbb16b33e16f0bb3c1f1dc2b3b26f.tar.bz2
txr-1cf78b42b2ebbb16b33e16f0bb3c1f1dc2b3b26f.zip
Remove useless member from parser structure.
* parser.c (parser_common_init): Use local variable to capture output of yylex_init, rather than yyscan structure member. * parser.h (struct parser): Member yyscan removed.
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/parser.h b/parser.h
index fe8e4413..3e45e32d 100644
--- a/parser.h
+++ b/parser.h
@@ -48,7 +48,6 @@ struct parser {
val name;
val prepared_msg;
val syntax_tree;
- yyscan_t yyscan;
scanner_t *scanner;
struct yy_token recent_tok;
struct yy_token tok_pushback[4];