eliben / pycparser

:snake: Complete C99 parser in pure Python
Other
3.21k stars 612 forks source link

Update c_parser.py to fix string concatenation error #547

Open Llewyllen opened 2 months ago

Llewyllen commented 2 months ago

Do not remove consecutive double quotes, as it might result in a different string in case of an escaped octal or hexadecimal value at the end of the first string AND a numeric character at the beginning of the second string

e.g. "\07""7" must not be merged in "\077"