I have my rules defined like this:
And when I try to parse any number, it's fine. But, when I try to parse any identifier, it don't work. Then, I inverted the rules and tried again, guess what? I was able do parse identifiers and not integers. Somebody know what's happening here?
Worked like a charm. Thank you.
Thanks for the tips, I'm developing a compiler to something like a mix of Pascal and C for my college compiler's class.