]> git.pld-linux.org Git - packages/grass.git/blobdiff - grass-ctypesgen.patch
- updated to 6.4.5
[packages/grass.git] / grass-ctypesgen.patch
diff --git a/grass-ctypesgen.patch b/grass-ctypesgen.patch
new file mode 100644 (file)
index 0000000..45832f5
--- /dev/null
@@ -0,0 +1,11 @@
+--- grass-6.4.5/lib/python/ctypes/ctypesgencore/parser/cgrammar.py.orig        2016-04-02 20:36:44.203067400 +0200
++++ grass-6.4.5/lib/python/ctypes/ctypesgencore/parser/cgrammar.py     2016-04-02 09:42:23.508048350 +0200
+@@ -1080,7 +1080,7 @@
+         p[0] = p[1]
+ def p_error(t):
+-    if t.lexer.in_define:
++    if t.lexer.in_define or t.type == 'PP_END_DEFINE':
+         # p_define_error will generate an error message.
+         pass
+     else:
This page took 0.124234 seconds and 4 git commands to generate.