summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index a022d75..94dae81 100644
--- a/src/main.c
+++ b/src/main.c
@@ -243,6 +243,15 @@ tokenize(char *p)
continue;
}
+ if (*p == '`') {
+ char *q = p;
+ p += 1;
+ while (isalnum(*p) || *p == '_')
+ p += 1;
+ cur = cur->next = new_token(TOK_STRING, q, p + 1);
+ continue;
+ }
+
if (*p == '\'' && p[1] != '\'') {
char *q = p;
const int c = escaped_char(p + 1, &p);