⛏️ index : buildtools.git

author Oliver Tappe <zooey@hirschkaefer.de> 2010-07-11 20:51:57.0 +00:00:00
committer Oliver Tappe <zooey@hirschkaefer.de> 2010-07-11 20:51:57.0 +00:00:00
commit
5f114e19ea5bdb5aa234aeab2a6e69c01e5a3ae4 [patch]
tree
80c33a63deab38e474c377e44e9df7b6b220d857
parent
c4e9b38ec8e8cc72cf0d1f954bcde2100537b310
download
5f114e19ea5bdb5aa234aeab2a6e69c01e5a3ae4.tar.gz

* fix build when building gcc2 with gcc2 (c89-syntax)

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37475 a95241bf-73f2-0310-859d-f6bbb57e9c96

Diff

 legacy/gcc/gcc/c-lex.c  | 4 +++-
 legacy/gcc/gcc/cp/lex.c | 4 +++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/legacy/gcc/gcc/c-lex.c b/legacy/gcc/gcc/c-lex.c
index 70d6b56..e9888c3 100644
--- a/legacy/gcc/gcc/c-lex.c
+++ b/legacy/gcc/gcc/c-lex.c
@@ -1989,6 +1989,7 @@
		  {
		    unsigned int value;
		    int len;
		    int i;
		    switch (c & 0xF0)
		      {
			case 0xF0:
@@ -2008,7 +2009,6 @@
			    "literal");
			  continue;
		      }
		    int i;
		    for (i = 1; i < len; ++i)
		      {
			c = GETC ();
@@ -2156,6 +2156,7 @@
		  {
		    unsigned int value;
		    int len;
		    int i;
		    switch (c & 0xF0)
		      {
			case 0xF0:
@@ -2175,7 +2176,6 @@
			    "string literal");
			  continue;
		      }
		    int i;
		    for (i = 1; i < len; ++i)
		      {
			c = GETC ();
diff --git a/legacy/gcc/gcc/cp/lex.c b/legacy/gcc/gcc/cp/lex.c
index 2b80e74..6d2ef4e 100644
--- a/legacy/gcc/gcc/cp/lex.c
+++ b/legacy/gcc/gcc/cp/lex.c
@@ -4099,6 +4099,7 @@
		  {
		    unsigned int value;
		    int len;
		    int i;
		    switch (c & 0xF0)
		      {
			case 0xF0:
@@ -4118,7 +4119,6 @@
			    "literal");
			  continue;
		      }
		    int i;
		    for (i = 1; i < len; ++i)
		      {
			c = getch ();
@@ -4272,6 +4272,7 @@
		  {
		    unsigned int value;
		    int len;
		    int i;
		    switch (c & 0xF0)
		      {
			case 0xF0:
@@ -4291,7 +4292,6 @@
			    "string literal");
			  continue;
		      }
		    int i;
		    for (i = 1; i < len; ++i)
		      {
			c = getch ();