Greetings,
I am using the "C" lexer rules copied from the manual page V3.3. The
rule for comments needs an extra "\" before the third "*" to be a
legal re. The "pass" might as well go as well.
def t_ccode_comment(t):
r'(/\*(.|\n)*?*/)|(//.*)' -> r'(/\*(.|\n)*?\*/)|
(//.*)'
pass
--
You received this message because you are subscribed to the Google Groups
"ply-hack" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/ply-hack?hl=en.