diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2013-08-02 20:38:45 +0100 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2013-08-02 20:38:45 +0100 |
commit | 634340f35b4ccc2206da12bed01c4fcb6bc55731 (patch) | |
tree | b6c93512ec9f9e847f954db2df8376be92c00b85 /tikzit/src/common/tikzlexer.lm | |
parent | 466b44d154c9b99be77d880f433f12df0f26d767 (diff) |
Use flex and bison options instead of #defines
Defining YY_EXTRA_TYPE is not the "proper" way to set that type (a
%option should be used instead), and defining YYLEX_PARAM will no longer
work with bison 3 (%lex-param is the correct thing to use).
Diffstat (limited to 'tikzit/src/common/tikzlexer.lm')
-rw-r--r-- | tikzit/src/common/tikzlexer.lm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tikzit/src/common/tikzlexer.lm b/tikzit/src/common/tikzlexer.lm index a0e5968..fe7ab0d 100644 --- a/tikzit/src/common/tikzlexer.lm +++ b/tikzit/src/common/tikzlexer.lm @@ -34,6 +34,7 @@ %option yylineno %option noyywrap %option header-file="common/tikzlexer.h" +%option extra-type="TikzGraphAssembler *" %s props %s xcoord |