nathansobo/treetop — Issue #25: Problem with rules order
Author: douglascamata
Created: 2012-02-09 04:17:19+00:00
State: open

I have my rules defined like this:

```
grammar Language

rule integer
[0-9]+
end

rule identifier
[a-z]+
end

end
```

And when I try to parse any number, it's fine. But, when I try to parse any identifier, it don't work. Now, invert the rules anad try again. You'll be able do parse identifiers and not integers. Somebody know what's happening here?