]>
Commit | Line | Data |
---|---|---|
ca68ed13 JR |
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 | ||
4e718414 JB |
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: |