From ef9311d79b829e59af10280b7eeef68942de1dfd Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 8 Aug 2022 09:21:18 +0200 Subject: change label syntax --- bootstrap/parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap/parse.c') 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 { -- cgit v1.2.3