diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2013-03-23 00:45:23 +0000 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2013-03-23 00:45:23 +0000 |
commit | 2aa4afed415b02add73c2dd5a3e9ccab90066d04 (patch) | |
tree | af135f127514fe047cb99b4f0c2ea7b87162acab /tikzit/src/common/GraphElementData.m | |
parent | dbd620bbaf7f28728c2686737b6a1453caaebd25 (diff) |
Make the parser more coherent
We build things up in stacks in the parser, rather than relying on
TikzGraphAssembler so much. This makes tikzparser.ym easier to follow
(IMHO).
Diffstat (limited to 'tikzit/src/common/GraphElementData.m')
-rw-r--r-- | tikzit/src/common/GraphElementData.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tikzit/src/common/GraphElementData.m b/tikzit/src/common/GraphElementData.m index fd93a0d..a99a432 100644 --- a/tikzit/src/common/GraphElementData.m +++ b/tikzit/src/common/GraphElementData.m @@ -27,6 +27,10 @@ @implementation GraphElementData ++ (id)data { + return [[[self alloc] init] autorelease]; +} + - (id)init { [super init]; properties = [[NSMutableArray alloc] init]; |