aboutsummaryrefslogtreecommitdiff
path: root/src/token.c
diff options
context:
space:
mode:
authors-over-42023-06-13 21:19:09 -0400
committers-over-42023-06-13 21:19:09 -0400
commit4b0d75d3dbfb85e10ee70c16000c48cf0de95740 (patch)
tree03b1a199f8658b0fde7283bdccf698455f2df44c /src/token.c
parent11fbe0ec9b8bf51d237fefee9254e68d3b22259b (diff)
lexer is done. forever.
Diffstat (limited to 'src/token.c')
-rw-r--r--src/token.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/token.c b/src/token.c
index 079a59f..b89096a 100644
--- a/src/token.c
+++ b/src/token.c
@@ -119,3 +119,10 @@ int char_can_ignore(char* character) {
return 0;
}
+
+
+int token_char_quote(char c) { return (c != '\''); }
+int token_char_grave(char c) { return (c != '`'); }
+int token_char_pound(char c) { return (c != '#'); }
+int token_char_colon(char c) { return (c != ':'); }
+int token_char_kywrd(char c) { return (char_could_split_keyword(&c)); }