From 634340f35b4ccc2206da12bed01c4fcb6bc55731 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Fri, 2 Aug 2013 20:38:45 +0100 Subject: 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). --- tikzit/src/common/tikzlexer.lm | 1 + 1 file changed, 1 insertion(+) (limited to 'tikzit/src/common/tikzlexer.lm') 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 -- cgit v1.2.3