[antlr-interest] Java arrays in "returns" ?

Marcin Rzeźnicki marcin.rzeznicki at gmail.com
Fri Mar 12 12:03:13 PST 2010


Hi
I've got an awkward question. How can I return an array from rule?
"rule_name returns [Object[] sth] " obviously does not work because syntax
checker thinks that closing bracket of Object[] closes returns. I could not
find anywhere how to escape it. Thx for any help.

-- 
Greetings
Marcin Rzeźnicki


More information about the antlr-interest mailing list