Title: [154109] trunk/Source/ThirdParty/ANGLE
Revision
154109
Author
[email protected]
Date
2013-08-15 10:59:40 -0700 (Thu, 15 Aug 2013)

Log Message

ANGLE doesn't build with bison 3.0
https://bugs.webkit.org/show_bug.cgi?id=119798

Reviewed by Antti Koivisto.

Make glslang.y compatible with bison 3.0, by using %lex-param
to set YYLEX_PARAM and getting rid of useless YYID macro.

* src/compiler/glslang.y:

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (154108 => 154109)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2013-08-15 17:23:39 UTC (rev 154108)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2013-08-15 17:59:40 UTC (rev 154109)
@@ -1,3 +1,15 @@
+2013-08-15  Allan Sandfeld Jensen  <[email protected]>
+
+        ANGLE doesn't build with bison 3.0
+        https://bugs.webkit.org/show_bug.cgi?id=119798
+
+        Reviewed by Antti Koivisto.
+
+        Make glslang.y compatible with bison 3.0, by using %lex-param
+        to set YYLEX_PARAM and getting rid of useless YYID macro.
+
+        * src/compiler/glslang.y:
+
 2013-08-09  Zoltan Arvai  <[email protected]>
 
         [Qt] Buidfix after r153664. Adding ANGLE_WEBKIT_WIN definition.

Modified: trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y (154108 => 154109)


--- trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y	2013-08-15 17:23:39 UTC (rev 154108)
+++ trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y	2013-08-15 17:59:40 UTC (rev 154109)
@@ -47,6 +47,7 @@
 %pure-parser
 %parse-param {TParseContext* context}
 %locations
+%lex-param {YYLEX_PARAM}
 
 %union {
 #define YYLTYPE TSourceLoc
@@ -86,7 +87,7 @@
 
 #define YYLLOC_DEFAULT(Current, Rhs, N)                      \
   do {                                                       \
-      if (YYID(N)) {                                         \
+      if (N) {                                               \
         (Current).first_file = YYRHSLOC(Rhs, 1).first_file;  \
         (Current).first_line = YYRHSLOC(Rhs, 1).first_line;  \
         (Current).last_file = YYRHSLOC(Rhs, N).last_file;    \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to