RACC question

C

Charles Mills

Hi, so I am cleaning up some code I wrote a while back and I have a
question.
I am wondering how to do empty rules ... not sure if that is the
correct terminology, but here is an example:

class CPreprocessor

# snip

ignore_the_new_line
: '\n' '\\' { }
;

##
Hope that makes sense.
-Charlie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,408
Latest member
AlenaRay88

Latest Threads

Top