From 9d6f9434a1836b777cc831a152db0267717630f0 Mon Sep 17 00:00:00 2001 From: Florian Stolte Date: Wed, 13 Dec 2017 10:37:56 +0100 Subject: [PATCH] Fixed a typo in XtextValidator. Signed-off-by: Florian Stolte --- .../src/org/eclipse/xtext/xtext/XtextValidator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.xtext/src/org/eclipse/xtext/xtext/XtextValidator.java b/org.eclipse.xtext/src/org/eclipse/xtext/xtext/XtextValidator.java index 008c9be95..727acc831 100644 --- a/org.eclipse.xtext/src/org/eclipse/xtext/xtext/XtextValidator.java +++ b/org.eclipse.xtext/src/org/eclipse/xtext/xtext/XtextValidator.java @@ -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);