From 8cde489ab6c4169fb03d810447c18eea0d0eaa14 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Sat, 23 Mar 2013 03:30:19 +0000 Subject: Make the parser/lexer reentrant No more locking! Also, the interface for TikzGraphAssembler is much simpler. Changes to OSX code are completely untested. --- tikzit/src/osx/Graph+Coder.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tikzit/src/osx/Graph+Coder.m') diff --git a/tikzit/src/osx/Graph+Coder.m b/tikzit/src/osx/Graph+Coder.m index 6a3f650..7d3787e 100644 --- a/tikzit/src/osx/Graph+Coder.m +++ b/tikzit/src/osx/Graph+Coder.m @@ -13,8 +13,7 @@ - (id)initWithCoder:(NSCoder*)coder { NSString *tikz = [coder decodeObject]; - TikzGraphAssembler *ass = [[TikzGraphAssembler alloc] init]; - [ass parseTikz:tikz forGraph:self]; + [TikzGraphAssembler parseTikz:tikz forGraph:self]; return self; } -- cgit v1.2.3