Fri, 04 Mar 2016 14:03:06 +0100
fixed macros with digits not highlighted
src/codegens.c | file | annotate | diff | comparison | revisions | |
test/ctestfile.c | file | annotate | diff | comparison | revisions |
--- a/src/codegens.c Wed Feb 10 12:45:14 2016 +0100 +++ b/src/codegens.c Fri Mar 04 14:03:06 2016 +0100 @@ -55,7 +55,7 @@ int iscapsonly(char *word, size_t wp) { for (size_t i = 0 ; i < wp ; i++) { - if (!isupper(word[i]) && word[i] != '_') { + if (!isupper(word[i]) && !isdigit(word[i]) && word[i] != '_') { return 0; } }