diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-07-10 08:12:40 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-07-10 08:12:40 -0700 |
commit | c15319c711c8f91cd2d44db7065169c8081b94aa (patch) | |
tree | d8c8f1d4bb81fc48d0763f9ebe1dd43f95e82a43 /parser.h | |
parent | 5c4e844c2c9c25324c3c1cb6d47b2967f65c633d (diff) | |
download | txr-c15319c711c8f91cd2d44db7065169c8081b94aa.tar.gz txr-c15319c711c8f91cd2d44db7065169c8081b94aa.tar.bz2 txr-c15319c711c8f91cd2d44db7065169c8081b94aa.zip |
Remove unused "primer" member from parser_t.
* parser.c (parser_mark, parser_common_init): Remove reference to primer.
(parser): Don't take primer argument, remove reference to member.
(ensure_parser): Don't take primer argument, don't pass to parser
function.
(lisp_parse): Don't pass primer string to ensure_parser.
* parser.h (primer_t): Remove primer member.
(parser): Declaration updated.
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -39,7 +39,6 @@ typedef struct { val name; val prepared_msg; val syntax_tree; - val primer; yyscan_t yyscan; scanner_t *scanner; } parser_t; @@ -76,7 +75,7 @@ val lisp_parse(val source, val error_stream, val error_return_val, val name); val read_eval_stream(val stream, val error_stream, val hash_bang_support); void parser_common_init(parser_t *); void parser_cleanup(parser_t *); -val parser(val stream, val lineno, val primer); +val parser(val stream, val lineno); val get_parser(val stream); val parser_errors(val parser); void parse_init(void); |