summaryrefslogtreecommitdiff
path: root/tikzit/src/common/TikzGraphAssembler.m
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@cs.ox.ac.uk>2013-01-29 13:54:59 +0000
committerAlex Merry <alex.merry@cs.ox.ac.uk>2013-01-29 13:54:59 +0000
commit5afd392bb6ddde79f0518ffd913bd8c365bf39e6 (patch)
tree9e33427fceee594faaa6ed8176325c1c852705e1 /tikzit/src/common/TikzGraphAssembler.m
parent68c40e05056e9df42bad4f0945ca6bfdc4a2d4dc (diff)
Fix variable declarations
yy* vars are owned by the lexer file (and should be externed from elsewhere).
Diffstat (limited to 'tikzit/src/common/TikzGraphAssembler.m')
-rw-r--r--tikzit/src/common/TikzGraphAssembler.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/tikzit/src/common/TikzGraphAssembler.m b/tikzit/src/common/TikzGraphAssembler.m
index 050b5fe..b07ee58 100644
--- a/tikzit/src/common/TikzGraphAssembler.m
+++ b/tikzit/src/common/TikzGraphAssembler.m
@@ -34,11 +34,11 @@ extern int yylex_destroy(void);
static NSLock *parseLock = nil;
static id currentAssembler = nil;
-int yylineno;
-int yyleng;
+extern int yylineno;
+extern int yyleng;
int lineno;
int tokenpos;
-char *yystr;
+extern char *yystr;
char linebuff[500];