antlr grammer

29 views
Skip to first unread message

Shadi 94

unread,
Sep 6, 2023, 6:19:32 PM9/6/23
to antlr-discussion
Hallo antlr team,

in my Grammer i have 
Newline: ('\r' '\n'? | '\n') -> skip; but i want to force to make a functions_statment on the same line
functions_statment: Func functions_name parameters_in_same_line? ('endfunction')?;
i want to dissallow line between functionsname and parameters and between parameters can any one help?
Reply all
Reply to author
Forward
0 new messages