]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- little fix for scanner.
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 26 Feb 2006 15:52:48 +0000 (15:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcc-unexpected_eof.patch -> 1.1.2.1

gcc-unexpected_eof.patch [new file with mode: 0644]

diff --git a/gcc-unexpected_eof.patch b/gcc-unexpected_eof.patch
new file mode 100644 (file)
index 0000000..03bade8
--- /dev/null
@@ -0,0 +1,17 @@
+# /usr/include/bits/stdio-ldbl.h new in glibc-2.3.90, triggers a bug in gcc:
+# End of file detection is defunct directly at the end of a declaration.
+# stdio-ldbl.h is the first file to end with a declaration. 
+# 
+# jw@suse.de, 2006-01-19
+
+--- gcc/gcc/scan-decls.c.orig  2006-01-19 16:58:59.000000000 +0100
++++ gcc/gcc/scan-decls.c       2006-01-19 16:28:51.000000000 +0100
+@@ -202,6 +202,8 @@
+                parameter list */
+             while (token->type != CPP_SEMICOLON && token->type != CPP_EOF)
+               token = get_a_token (pfile);
++              if (token->type == CPP_EOF)
++              continue;
+             goto new_statement;
+           }
+         break;
This page took 0.123265 seconds and 4 git commands to generate.