Gitweb links:

...log 
http://git.netsurf-browser.org/toolchains.git/shortlog/98c5ce29b6559bde2ab95ff6ea0412bd2da8b10b
...commit 
http://git.netsurf-browser.org/toolchains.git/commit/98c5ce29b6559bde2ab95ff6ea0412bd2da8b10b
...tree 
http://git.netsurf-browser.org/toolchains.git/tree/98c5ce29b6559bde2ab95ff6ea0412bd2da8b10b

The branch, chris/yylex has been created
        at  98c5ce29b6559bde2ab95ff6ea0412bd2da8b10b (commit)

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/toolchains.git/commit/?id=98c5ce29b6559bde2ab95ff6ea0412bd2da8b10b
commit 98c5ce29b6559bde2ab95ff6ea0412bd2da8b10b
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>

    Some versions of flex/bison don't like YYLEX
    **untested**

diff --git a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.c-parse.in.p 
b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.c-parse.in.p
index bedb438..66459ca 100644
--- a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.c-parse.in.p
+++ b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.c-parse.in.p
@@ -1,5 +1,5 @@
 --- c-parse.in 2004-10-15 00:12:53.000000000 +0100
-+++ gcc/c-parse.in     2015-01-01 13:56:51.039003490 +0000
++++ c-parse.in.new2    2016-07-10 20:42:58.505019865 +0100
 @@ -29,7 +29,7 @@ Software Foundation, 59 Temple Place - S
     written by AT&T, but I have never seen it.  */
  
@@ -9,6 +9,15 @@
  @@end_ifc
  
  %{
+@@ -635,7 +635,7 @@ primary:
+       IDENTIFIER
+               {
+                 if (yychar == YYEMPTY)
+-                  yychar = YYLEX;
++                  yychar = yylex();
+                 $$ = build_external_ref ($1, yychar == '(');
+               }
+       | CONSTANT
 @@ -1730,7 +1730,7 @@ enum_head:
  
  structsp_attr:
@@ -80,6 +89,15 @@
  
  absdcl1:  /* a nonempty absolute declarator */
          absdcl1_ea
+@@ -2227,7 +2232,7 @@ do_stmt_start:
+ 
+ save_location:
+               { if (yychar == YYEMPTY)
+-                  yychar = YYLEX;
++                  yychar = yylex();
+                 $$ = input_location; }
+       ;
+ 
 @@ -2596,33 +2601,37 @@ parmlist_2:  /* empty */
                }
        ;


-----------------------------------------------------------------------


-- 
Cross-compilation toolchains and environments

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to