]> git.pld-linux.org Git - packages/grass.git/blob - grass-ctypesgen.patch
Release 5 (by relup.sh)
[packages/grass.git] / grass-ctypesgen.patch
1 diff -urNp -x '*.orig' grass-7.6.1.org/lib/python/ctypes/ctypesgencore/parser/cgrammar.py grass-7.6.1/lib/python/ctypes/ctypesgencore/parser/cgrammar.py
2 --- grass-7.6.1.org/lib/python/ctypes/ctypesgencore/parser/cgrammar.py  2019-03-19 21:05:06.000000000 +0100
3 +++ grass-7.6.1/lib/python/ctypes/ctypesgencore/parser/cgrammar.py      2021-10-06 23:39:56.737556037 +0200
4 @@ -1182,7 +1182,7 @@ def p_macro_parameter_list(p):
5  
6  
7  def p_error(t):
8 -    if t.lexer.in_define:
9 +    if t.lexer.in_define or t.type == 'PP_END_DEFINE':
10          # p_define_error will generate an error message.
11          pass
12      else:
This page took 0.245749 seconds and 3 git commands to generate.