From d35a186932e95b979bb947110a2e7d2cca41fcc9 Mon Sep 17 00:00:00 2001 From: Johan Paulsson Date: Sun, 27 Jan 2013 16:54:57 +0000 Subject: Better parser errors on syntax errors. Will show line number, description and where the error happened. Test function for delimited string if they will break reprising. --- tikzit/src/common/TikzGraphAssembler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tikzit/src/common/TikzGraphAssembler.h') diff --git a/tikzit/src/common/TikzGraphAssembler.h b/tikzit/src/common/TikzGraphAssembler.h index adaf443..a0c8a0d 100644 --- a/tikzit/src/common/TikzGraphAssembler.h +++ b/tikzit/src/common/TikzGraphAssembler.h @@ -41,6 +41,8 @@ - (BOOL)parseTikz:(NSString*)tikz; - (BOOL)parseTikz:(NSString*)tikz forGraph:(Graph*)gr; +- (BOOL)testTikz:(NSString*)tikz; + - (void)prepareNode; - (void)finishNode; -- cgit v1.2.3