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