From 194806b17d3309202ddaf7a981ec02581984f033 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Sat, 23 Mar 2013 15:49:16 +0000 Subject: Bring back parser/lexer error reporting Even better than before! --- tikzit/src/common/TikzGraphAssembler+Parser.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tikzit/src/common/TikzGraphAssembler+Parser.h') 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 -- cgit v1.2.3