test fragment
This commit is contained in:
@@ -21,4 +21,16 @@ options {
|
||||
}
|
||||
|
||||
|
||||
program returns [Program p] : /* TODO */;
|
||||
program returns [Program p] :
|
||||
func=function
|
||||
EOF
|
||||
{$p = new Program($func.p);}
|
||||
;
|
||||
|
||||
|
||||
function returns [List<ASD.Function> out]:
|
||||
{$out = new ArrayList<ASD.Function>();}
|
||||
;
|
||||
|
||||
prototype returns [Program p]:
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user