diff options
author | wvi <vilibald.wanca@geewa.com> | 2014-09-09 12:50:25 +0200 |
---|---|---|
committer | w-vi <vilibald@wvi.cz> | 2014-09-09 19:45:02 +0200 |
commit | 044db0c002fdf67ca1d2ef019b309a497f6bc815 (patch) | |
tree | 01b8e5ef3b38ca41c6841c28d5adeed7841b1c6a /pycparser | |
parent | 5153976f02e2cd616b5c6f616e2670059430f530 (diff) | |
download | pycparser-044db0c002fdf67ca1d2ef019b309a497f6bc815.tar.gz |
Fix #33 pragma error when '=' occurs.
'=' added to pppragma_ignore.
Diffstat (limited to 'pycparser')
-rw-r--r-- | pycparser/c_lexer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pycparser/c_lexer.py b/pycparser/c_lexer.py index 393f0a8..e17a2ea 100644 --- a/pycparser/c_lexer.py +++ b/pycparser/c_lexer.py @@ -302,7 +302,7 @@ class CLexer(object): r'pragma' pass - t_pppragma_ignore = ' \t<>.-{}();+-*/$%@&^~!?:,0123456789' + t_pppragma_ignore = ' \t<>.-{}();=+-*/$%@&^~!?:,0123456789' @TOKEN(string_literal) def t_pppragma_STR(self, t): pass |