diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2009-03-13 17:40:03 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2009-03-13 17:40:03 +0000 |
commit | 6d9278eb9cc38af0e07421f79c27a076428b5b7a (patch) | |
tree | 7d4a48d9072217404396dbe0d2b5a624f8ba4a9d /math/eukleides | |
parent | 79876d1d4ae023a62353b2808975d28adb233ac7 (diff) | |
download | ports-6d9278eb9cc38af0e07421f79c27a076428b5b7a.tar.gz ports-6d9278eb9cc38af0e07421f79c27a076428b5b7a.zip |
Fix declaration order bug in parser
Reported by: pointyhat
Notes
Notes:
svn path=/head/; revision=230007
Diffstat (limited to 'math/eukleides')
-rw-r--r-- | math/eukleides/files/patch-parser.y | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/math/eukleides/files/patch-parser.y b/math/eukleides/files/patch-parser.y new file mode 100644 index 000000000000..04a847df16de --- /dev/null +++ b/math/eukleides/files/patch-parser.y @@ -0,0 +1,21 @@ +--- parser.y.orig 2009-03-13 18:38:32.000000000 +0100 ++++ parser.y 2009-03-13 18:38:19.000000000 +0100 +@@ -29,7 +29,6 @@ + int warning(char *); + int yyerror(char *); + +-int drawing_style = FULL; + symrec* tracevar; + double tracestep, tracebegin; + int tracestyle, traceind = -1; +@@ -93,6 +92,10 @@ + %type <flag> drawing_flag segment_marking_flag angle_marking_flag color_flag + %type <string> ident + ++%{ ++int drawing_style = FULL; ++%} ++ + %% + + input: |