diff options
Diffstat (limited to 'tikzit/src/common/tikzparser.ym')
-rw-r--r-- | tikzit/src/common/tikzparser.ym | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tikzit/src/common/tikzparser.ym b/tikzit/src/common/tikzparser.ym index 5c49ed9..98d25e4 100644 --- a/tikzit/src/common/tikzparser.ym +++ b/tikzit/src/common/tikzparser.ym @@ -128,16 +128,16 @@ optproperties: | "[" properties "]" { $$ = $2; } | { $$ = nil; }; -properties: property extraproperties +properties: extraproperties property { - [$2 addObject:$1]; - $$ = $2; + [$1 addObject:$2]; + $$ = $1; }; extraproperties: - "," property extraproperties + extraproperties property "," { - [$3 addObject:$2]; - $$ = $3; + [$1 addObject:$2]; + $$ = $1; } | { $$ = [GraphElementData data]; }; property: |