Commit ec114a68 authored by Johannes Roith's avatar Johannes Roith

Add delimiter check for autocomplete.

parent 0b21c97e
......@@ -128,6 +128,26 @@ public class CupSymbol {
}
}
public static boolean isDelimiter(char c) {
switch (c) {
case ' ':
case '\t':
case '?':
case ';':
case ',':
case '*':
case '.':
case '|':
case '[':
case ']':
case ':':
case '<':
case '>':
return true;
}
return false;
}
public static String[] getKeywords() {
return keywordStrings;
}
......
Markdown is supported
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