]> git.pld-linux.org Git - packages/grass.git/blob - grass-ctypesgen.patch
- release 5 (by relup.sh)
[packages/grass.git] / grass-ctypesgen.patch
1 --- grass-6.4.5/lib/python/ctypes/ctypesgencore/parser/cgrammar.py.orig 2016-04-02 20:36:44.203067400 +0200
2 +++ grass-6.4.5/lib/python/ctypes/ctypesgencore/parser/cgrammar.py      2016-04-02 09:42:23.508048350 +0200
3 @@ -1080,7 +1080,7 @@
4          p[0] = p[1]
5  
6  def p_error(t):
7 -    if t.lexer.in_define:
8 +    if t.lexer.in_define or t.type == 'PP_END_DEFINE':
9          # p_define_error will generate an error message.
10          pass
11      else:
This page took 0.180192 seconds and 3 git commands to generate.