Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java')
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java
index b4693578..62a7db13 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java
@@ -33,7 +33,7 @@ import org.eclipse.xtend.typesystem.Type;
public class CheckFastAnalyzer {
private final static Pattern VALIDATE_PATTERN = Pattern
- .compile("context\\s+([\\[\\]:\\w\\]]+)\\s+[^;]*\\z");
+ .compile("context\\s+([\\[\\]:\\w\\]]+)(#|\\s+)[^;]*\\z");
private final static Pattern TYPEDECL_PATTERN = Pattern.compile("context\\s+[\\[\\]:\\w\\]]*\\z");

Back to the top