Hi,
I'm trying to convert a set of C files (basically a set of static data definition) from C into
another format, but the file contains a bunch of other data that I really don't want to parse.
Is there a way to skip every line until I find my first matching rule ?
For example, I know that the data I want to parse begins with "static struct", so is there a way
to skip the input until the first static struct ?
What I noticed is that I always fail at offset 0 if I don't parse the C comment in the beginning
of the file.
cheers