diff options
author | arved <arved@FreeBSD.org> | 2009-03-14 01:40:03 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2009-03-14 01:40:03 +0800 |
commit | 439b6d02b1c04fe27be9fc5dc82bb2e3a9181dab (patch) | |
tree | 948799d7e06dc5ffb0b69dd8be4debc43d6a93fa /math/eukleides | |
parent | 408fa6546dc25c34ef8d2be2f9cb3473b88492b3 (diff) | |
download | freebsd-ports-gnome-439b6d02b1c04fe27be9fc5dc82bb2e3a9181dab.tar.gz freebsd-ports-gnome-439b6d02b1c04fe27be9fc5dc82bb2e3a9181dab.tar.zst freebsd-ports-gnome-439b6d02b1c04fe27be9fc5dc82bb2e3a9181dab.zip |
Fix declaration order bug in parser
Reported by: pointyhat
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: |