summaryrefslogtreecommitdiff
path: root/tikzit/src/common/TikzGraphAssembler+Parser.h
diff options
context:
space:
mode:
authorAlex Merry <dev@randomguy3.me.uk>2013-03-23 15:49:16 +0000
committerAlex Merry <dev@randomguy3.me.uk>2013-03-23 15:49:42 +0000
commit194806b17d3309202ddaf7a981ec02581984f033 (patch)
tree084fd3843f51364352112021453ee9450f977260 /tikzit/src/common/TikzGraphAssembler+Parser.h
parent8cde489ab6c4169fb03d810447c18eea0d0eaa14 (diff)
Bring back parser/lexer error reporting
Even better than before!
Diffstat (limited to 'tikzit/src/common/TikzGraphAssembler+Parser.h')
-rw-r--r--tikzit/src/common/TikzGraphAssembler+Parser.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/tikzit/src/common/TikzGraphAssembler+Parser.h b/tikzit/src/common/TikzGraphAssembler+Parser.h
index efceae9..55fa901 100644
--- a/tikzit/src/common/TikzGraphAssembler+Parser.h
+++ b/tikzit/src/common/TikzGraphAssembler+Parser.h
@@ -30,14 +30,10 @@
- (void) addNodeToMap:(Node*)n;
/** Get a previously-stored node by name */
- (Node*) nodeWithName:(NSString*)name;
-- (void) newLineStarted:(char *)text;
-- (void) incrementPosBy:(size_t)amount;
-- (void) invalidateWithError:(const char *)message;
+- (void) reportError:(const char *)message atLocation:(YYLTYPE*)yylloc;
- (void*) scanner;
@end
#define YY_EXTRA_TYPE TikzGraphAssembler *
-#define YYLEX_PARAM [assembler scanner]
-void yyerror(TikzGraphAssembler *assembler, const char *str);
// vi:ft=objc:noet:ts=4:sts=4:sw=4