diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2013-03-23 03:30:19 +0000 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2013-03-23 03:38:55 +0000 |
commit | 8cde489ab6c4169fb03d810447c18eea0d0eaa14 (patch) | |
tree | ad3fcdc71f1819963198ae8a52fc5f2b2818cd20 /tikzit/src/osx/Graph+Coder.m | |
parent | e68a44b882e5d6dbbab769f7ef20355ec53a9278 (diff) |
Make the parser/lexer reentrant
No more locking! Also, the interface for TikzGraphAssembler is much
simpler.
Changes to OSX code are completely untested.
Diffstat (limited to 'tikzit/src/osx/Graph+Coder.m')
-rw-r--r-- | tikzit/src/osx/Graph+Coder.m | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |