diff options
author | sanine <sanine.not@pm.me> | 2023-01-18 13:18:13 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-01-18 13:18:13 -0600 |
commit | 3409a7dbe08bdc98d7663e5dcafaee5792d12139 (patch) | |
tree | 29776d59a8f9417f426e027a7397403a68811232 /yy/kalmia.l | |
parent | 9e19578675d8ad6a7c252e884b26e61ab9159b4a (diff) |
working prefixes
Diffstat (limited to 'yy/kalmia.l')
-rw-r--r-- | yy/kalmia.l | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yy/kalmia.l b/yy/kalmia.l index 916f576..697d6ac 100644 --- a/yy/kalmia.l +++ b/yy/kalmia.l @@ -1,9 +1,12 @@ %option noinput nounput noyywrap 8bit nodefault %option reentrant bison-bridge bison-locations +%option prefix="kalmia" %start STRING %{ #include <string.h> +#define YYLTYPE KALMIALTYPE +#define YYSTYPE KALMIASTYPE #include "kalmia.tab.h" #define YY_USER_ACTION \ yylloc->first_line = yylloc->last_line; \ |