CE parser implement comments
This commit is contained in:
@@ -159,6 +159,9 @@ void tokenize (struct list_node_link** tokens, const char* text) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (*p == '#')
|
||||||
|
return;
|
||||||
|
|
||||||
if (*p == '"') {
|
if (*p == '"') {
|
||||||
p++;
|
p++;
|
||||||
struct token* token = arena_malloc (&arena, sizeof (*token));
|
struct token* token = arena_malloc (&arena, sizeof (*token));
|
||||||
|
|||||||
Reference in New Issue
Block a user