src/codegens.c

changeset 36
be60c22cddfe
parent 35
abaf2489c549
child 47
c39ecbbca7c0
--- a/src/codegens.c	Fri Mar 04 14:48:28 2016 +0100
+++ b/src/codegens.c	Fri Mar 04 15:02:22 2016 +0100
@@ -44,7 +44,7 @@
     return dp;
 }
 
-int iskeyword(char *word, const char** keywords) {
+int check_keyword(char *word, const char** keywords) {
     for (int i = 0 ; keywords[i] ; i++) {
         if (strncmp(keywords[i], word, WORDBUF_SIZE) == 0) {
             return 1;
@@ -53,7 +53,7 @@
     return 0;
 }
 
-int iscapsonly(char *word, size_t wp) {
+int check_capsonly(char *word, size_t wp) {
     for (size_t i = 0 ; i < wp ; i++) {
         if (!isupper(word[i]) && !isdigit(word[i]) && word[i] != '_') {
             return 0;

mercurial