1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

bug 406911: GNU Makefile editor does not highlight built-in function "filter-out" correctly.

This commit is contained in:
Andrew Gvozdev 2013-05-02 22:16:05 -04:00
parent 7ff04d5d8d
commit 548b84cb35

View file

@ -43,7 +43,7 @@ public class FunctionReferenceRule extends WordRule {
} }
@Override @Override
public boolean isWordPart(char c) { public boolean isWordPart(char c) {
return !isClosedBracket && (c == '(' || Character.isJavaIdentifierPart(c)); return !isClosedBracket && (c == '(' || Character.isJavaIdentifierPart(c) || c == '-');
} }
} }