aboutsummaryrefslogtreecommitdiff
path: root/src/quote_fmt_lex.l
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-02-03 17:59:49 +0100
committerThomas White <taw@physics.org>2019-05-16 15:15:49 +0200
commit57deff472f027c29d9a59bb059248c76f84c8a34 (patch)
tree0e9198d38f6f4f73a41905290d4ce5bf4bd856d7 /src/quote_fmt_lex.l
parentfdf62472755ff9e2aa0f234e3317d8ff2e709938 (diff)
quote_fmt stuff
Diffstat (limited to 'src/quote_fmt_lex.l')
-rw-r--r--src/quote_fmt_lex.l5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/quote_fmt_lex.l b/src/quote_fmt_lex.l
index 578ea149..c330345e 100644
--- a/src/quote_fmt_lex.l
+++ b/src/quote_fmt_lex.l
@@ -1,6 +1,5 @@
%{
-#include "quote_fmt_lex.h"
-#include "quote_fmt_parse.h"
+#include "quote_fmt_parse.tab.h"
%}
%option prefix="quote_fmt"
@@ -40,6 +39,6 @@
"?r" /* query references */ return QUERY_REFERENCES;
"{" return OPARENT;
"}" return CPARENT;
-. { yylval.chr = yytext[0]; return CHARACTER; }
+. { quote_fmtlval.chr = yytext[0]; return CHARACTER; }
%%