Gitweb links:
...log
http://git.netsurf-browser.org/nsgenbind.git/shortlog/e534d44bb67698168cd5241291309c8d2a22bfdf
...commit
http://git.netsurf-browser.org/nsgenbind.git/commit/e534d44bb67698168cd5241291309c8d2a22bfdf
...tree
http://git.netsurf-browser.org/nsgenbind.git/tree/e534d44bb67698168cd5241291309c8d2a22bfdf
The branch, master has been updated
via e534d44bb67698168cd5241291309c8d2a22bfdf (commit)
from 82d7ecb2e21bd5f737c825ad8ccd0d7be82fe4a1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/nsgenbind.git/commit/?id=e534d44bb67698168cd5241291309c8d2a22bfdf
commit e534d44bb67698168cd5241291309c8d2a22bfdf
Author: John-Mark Bell <[email protected]>
Commit: John-Mark Bell <[email protected]>
Fix YYLTYPE nonsense with bison >=3.0
diff --git a/src/nsgenbind-parser.y b/src/nsgenbind-parser.y
index fd41c37..d73401e 100644
--- a/src/nsgenbind-parser.y
+++ b/src/nsgenbind-parser.y
@@ -20,7 +20,15 @@
%code requires {
+#ifndef YYLTYPE
+/* Bison <3.0 */
#define YYLTYPE YYLTYPE
+#else
+/* Bison 3.0 or later */
+/* Keep in sync with the defined API prefix */
+#define NSGENBIND_LTYPE_IS_DECLARED 1
+#endif
+
typedef struct YYLTYPE {
struct YYLTYPE *next;
int start_line;
-----------------------------------------------------------------------
Summary of changes:
src/nsgenbind-parser.y | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/nsgenbind-parser.y b/src/nsgenbind-parser.y
index fd41c37..d73401e 100644
--- a/src/nsgenbind-parser.y
+++ b/src/nsgenbind-parser.y
@@ -20,7 +20,15 @@
%code requires {
+#ifndef YYLTYPE
+/* Bison <3.0 */
#define YYLTYPE YYLTYPE
+#else
+/* Bison 3.0 or later */
+/* Keep in sync with the defined API prefix */
+#define NSGENBIND_LTYPE_IS_DECLARED 1
+#endif
+
typedef struct YYLTYPE {
struct YYLTYPE *next;
int start_line;
--
NetSurf Generator for JavaScript bindings
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org