summaryrefslogtreecommitdiff
path: root/tikzit/src/common/TikzGraphAssembler+Parser.h
diff options
context:
space:
mode:
authorAlex Merry <dev@randomguy3.me.uk>2013-08-02 20:38:45 +0100
committerAlex Merry <dev@randomguy3.me.uk>2013-08-02 20:38:45 +0100
commit634340f35b4ccc2206da12bed01c4fcb6bc55731 (patch)
treeb6c93512ec9f9e847f954db2df8376be92c00b85 /tikzit/src/common/TikzGraphAssembler+Parser.h
parent466b44d154c9b99be77d880f433f12df0f26d767 (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/TikzGraphAssembler+Parser.h')
-rw-r--r--tikzit/src/common/TikzGraphAssembler+Parser.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tikzit/src/common/TikzGraphAssembler+Parser.h b/tikzit/src/common/TikzGraphAssembler+Parser.h
index 55fa901..c9391a9 100644
--- a/tikzit/src/common/TikzGraphAssembler+Parser.h
+++ b/tikzit/src/common/TikzGraphAssembler+Parser.h
@@ -31,9 +31,6 @@
/** Get a previously-stored node by name */
- (Node*) nodeWithName:(NSString*)name;
- (void) reportError:(const char *)message atLocation:(YYLTYPE*)yylloc;
-- (void*) scanner;
@end
-#define YY_EXTRA_TYPE TikzGraphAssembler *
-
// vi:ft=objc:noet:ts=4:sts=4:sw=4