From 439b6d02b1c04fe27be9fc5dc82bb2e3a9181dab Mon Sep 17 00:00:00 2001 From: arved Date: Fri, 13 Mar 2009 17:40:03 +0000 Subject: Fix declaration order bug in parser Reported by: pointyhat --- math/eukleides/files/patch-parser.y | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 math/eukleides/files/patch-parser.y (limited to 'math') 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 drawing_flag segment_marking_flag angle_marking_flag color_flag + %type ident + ++%{ ++int drawing_style = FULL; ++%} ++ + %% + + input: -- cgit