Am 06.05.2011 um 17:40 schrieb Bart Kiers:

> Only at the end. You need to place the code-block inside the parenthesis like 
> this:
> 
> keysAndValues
>   :  ('"' key '"' value
>        {
>          // Some code to read the key(s) and value(s) out.
>          System.out.println("key=" + $key.text + ", value=" + $value.text);
>        }
>      )*
>   ;

Ah, cool, thanks.



List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
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