Suppose I have a rule like this.

sentence : WS? verb WS noun WS preposition WS noun WS?{
System.out.println($sentence.text);
sentences.add(new Integer[]{
        new Integer($verb.value),
        new Integer($noun.value),
        new Integer($preposition.value),
        new Integer($noun.value)
});
};

Notice that noun is ambiguous above.  How do I specify noun1 and
noun2?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" 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/il-antlr-interest?hl=en.

Reply via email to