Commit 17a115d4 authored by René Schöne's avatar René Schöne
Browse files

Fix model parsing.

parent 8eec1cf4
......@@ -103,7 +103,6 @@ aspect eval {
rewrite QualifiedNameDesignator {
to Designator {
MquatWriteSettings settings = new MquatWriteSettings(" ");
return containingClause().resolveQualifiedName(this.getQualifiedName());
}
}
......
......@@ -61,7 +61,7 @@ aspect Printing {
} else {
result.append(".");
}
result.append(name.print(settings, indentationLevel)).append(".");
result.append(name.print(settings, indentationLevel));
}
return result;
}
......
......@@ -49,7 +49,7 @@ Comment = "//" [^\n\r]+
"resources" { return sym(Terminals.RESOURCE); }
"resource" { return sym(Terminals.RESOURCE); }
"request" { return sym(Terminals.REQUEST); }
"request" { return sym(Terminals.REQUEST); }
"for" { return sym(Terminals.FOR); }
// TODO there should be a maximize too
"minimize" { return sym(Terminals.MINIMIZE); }
"container" { return sym(Terminals.CONTAINER); }
......
......@@ -37,7 +37,7 @@ import java.util.HashMap;
%goal solution;
Request request =
REQUEST component_ref.c LB_CURLY request_body.b RB_CURLY {: b.setTarget(c); return b; :}
REQUEST NAME FOR component_ref.c LB_CURLY request_body.b RB_CURLY {: b.setTarget(c); return b; :}
;
Request request_body =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment