Subject: | C parser examples don't deal with char a = '"'; |
Required info:
Distribution name and version - Parse-RecDescent-1.80
Perl version - 5.6.1
OS - Windows 2000 Pro SP 2
The grammers found in demo/demo_decomment.pl and demo/demo_decomment_nonlocal.pl are incomplete in that they don't recognize character values in single quotes. This can easily be demonstrated by adding the line:
char a = '"'; // Will it recognize this?
after the line that declares cp2.
-Eric