[antlr-interest] return an array from a rule

Grzegorz Cieslewski cieslewski at hcs.ufl.edu
Thu Apr 17 07:48:58 PDT 2008


try adding an escape character like:
aRule returns [Integer[\] i]

Greg


On Thu, Apr 17, 2008 at 7:33 AM, Felix Dorner <felix_do at web.de> wrote:
> Hey,
>
>  Antler gets confused when I write something like
>
>  aRule returns [Integer[] i]
>  :...
>
>  Is it possible to return an array?
>
>  Felix
>



-- 
=====================================================
Grzegorz Cieslewski
Research Assistant
High-performance Computing & Simulation (HCS) Research Laboratory
University of Florida, Dept. of Electrical and Computer Engineering
330 Benton Hall, Gainesville, FL, 32611-6200
Phone: (352) 392-9041
Email: cieslewski at hcs.ufl.edu
Web: www.hcs.ufl.edu
=====================================================


More information about the antlr-interest mailing list