mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 00:38:56 +00:00
Merge pull request #579 from FStolte/typo
Fixed a typo in XtextValidator
This commit is contained in:
commit
58077a7022
1 changed files with 1 additions and 1 deletions
|
@ -1084,7 +1084,7 @@ public class XtextValidator extends AbstractDeclarativeValidator {
|
|||
if (keyword.getValue() != null && !(keyword.eContainer() instanceof EnumLiteralDeclaration)
|
||||
&& !(GrammarUtil.containingRule(keyword) instanceof TerminalRule)) {
|
||||
if (keyword.getValue().contains(" ") || keyword.getValue().contains("\t")) {
|
||||
addIssue("A keyword should non contain spaces.",
|
||||
addIssue("A keyword should not contain spaces.",
|
||||
keyword,
|
||||
null,
|
||||
SPACES_IN_KEYWORD);
|
||||
|
|
Loading…
Reference in a new issue