summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Merry <dev@randomguy3.me.uk>2013-03-22 17:13:56 +0000
committerAlex Merry <dev@randomguy3.me.uk>2013-03-22 17:13:56 +0000
commit857b2eacbad89daeb1e7dd751ca97ff6ea56a634 (patch)
tree66446f19f497c72c6e88562efe0445794325e138
parent780a705adc71864bbc964d2802625c2fd1cce0bc (diff)
Fix parser hack for props containing the word "node"
-rw-r--r--tikzit/src/common/tikzparser.ym2
1 files changed, 1 insertions, 1 deletions
diff --git a/tikzit/src/common/tikzparser.ym b/tikzit/src/common/tikzparser.ym
index cdbdb88..9f03745 100644
--- a/tikzit/src/common/tikzparser.ym
+++ b/tikzit/src/common/tikzparser.ym
@@ -121,7 +121,7 @@ propsym:
LWORD { $$ = $<nsstr>1; }
| number { $$ = $<nsstr>1; }
| TO { $$ = @"to"; }
- | NODE { $$ = @"node"; }
+ | ALTNODE { $$ = @"node"; }
| RECTANGLE { $$ = @"rectangle"; }
| AT { $$ = @"at"; }
| FULLSTOP { $$ = @"."; };