[antlr-interest] c target - rhow can i obtain retval values

Юрушкин Михаил yurushkin at rambler.ru
Sun Sep 20 08:12:37 PDT 2009


Good day,
I use C target:


> char_selector[FortranDeclarations *decls]
returns [TypeParam *len, TypeParam *kind]

len, kind - return values.
but how can i obtain them vaues in grammar?

i.e.
> len = new TypeParam

is not correct, because result .C file contains only "retval" variable
(not len).


-- 
Best regards,
Michael


More information about the antlr-interest mailing list