aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/parse.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-08 09:21:18 +0200
committerlemon <lsof@mailbox.org>2022-08-08 09:21:18 +0200
commitef9311d79b829e59af10280b7eeef68942de1dfd (patch)
tree3fc7e61d98e89d9f51f5f3b41c68df10312cfdf6 /bootstrap/parse.c
parentbc32ed90d6eaaca6406998961c50c5f5d5ca5260 (diff)
change label syntax
Diffstat (limited to 'bootstrap/parse.c')
-rw-r--r--bootstrap/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/parse.c b/bootstrap/parse.c
index 706bfb5..fd2d703 100644
--- a/bootstrap/parse.c
+++ b/bootstrap/parse.c
@@ -128,7 +128,7 @@ aishsep(char c) {
switch (c)
case '(': case ')': case '[': case ']':
case '{': case '}': case '.': case ',':
- case ';': case '"': case '\'':
+ case ';': case '"':
return 1;
return 0;
}
@@ -378,7 +378,7 @@ lex(struct parser *P) {
tok.t = '#tag';
} else if (!strcmp(s, "#?")) {
tok.t = '#?';
- } else if (!strncmp(s, "#:", 2)) {
+ } else if (!strncmp(s, "#'", 2)) {
tok.t = TKlabel;
tok.str = xstrdup(s);
} else {