File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -1883,7 +1883,7 @@ syntax module NitraSyntax : NitraLang
18831883 if (RuleMethodBody.IsEmpty())
18841884 {
18851885 unless (ruleSymbol is ExtensibleRuleSymbol)
1886- compilerMessages.Error(this, "An abstract rule method must be defined in an extension point rule only.");
1886+ compilerMessages.Error(this, "An abstract rule method must be defined in an extensible rule only.");
18871887 RuleMethod.ParsedAbstractSymbol(this)
18881888 }
18891889 else
Original file line number Diff line number Diff line change 66 {
77 | A = "a"
88 {
9- private GetHashCode() : int = 0; //E:Name 'GetHashCode' is restricted due to internal use
9+ GetHashCode() : int = 0; //E:Name 'GetHashCode' is restricted due to internal use
1010 }
1111
1212 | B = Location="b" //E:Name 'Location' is restricted due to internal use
Original file line number Diff line number Diff line change 44
55 syntax X = "x"
66 {
7- private Field1() : int; //E:A private rule method must have a body
8-
9- Field2() : int; //E:An abstract rule method must be defined in an extension point rule only
7+ Field2() : int; //E:An abstract rule method must be defined in an extensible rule only
108 }
119
1210 syntax Y
1311 {
14- private Field1() : int; //E:A private rule method can be declared only in simple rules and extension rules
15-
1612 | Z = "z"
1713 {
18- Field2() : int = 0 ; //E:A public rule method must be defined in an extension point rule or a simple rule only
14+ Field2() : int; //E:An abstract rule method must be defined in an extensible rule only
1915 }
2016 }
2117}
You can’t perform that action at this time.
0 commit comments