aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-05-22 21:33:45 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-05-22 21:33:45 +0100
commit555d7b7612c1e8beb099cf28ac63af2f36ee46fa (patch)
tree01ed9d17af7e3f60ed562bcd97942d6e81efb5a2
parentcf000407b8d2d4e75a6f56b5d111f3e55e7400e5 (diff)
downloadtr8vm-555d7b7612c1e8beb099cf28ac63af2f36ee46fa.tar.gz
tr8vm-555d7b7612c1e8beb099cf28ac63af2f36ee46fa.zip
Skip the closing quote
-rw-r--r--tr8as.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tr8as.c b/tr8as.c
index 64af41d..43a2534 100644
--- a/tr8as.c
+++ b/tr8as.c
@@ -722,6 +722,7 @@ static uint8_t parse_str(As *as, char **c)
if (**c != '"')
return error_l("Syntax error", &as->loc, "expected \"");
+ (*c)++;
return 1;
}