From 0f53520c5ee5f07ec2ba0361172fd72bd1456ad4 Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 27 May 2023 14:36:23 +0200 Subject: recursive descent -> precedence climbing parser --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index 548e5ae..760dea3 100644 --- a/io.c +++ b/io.c @@ -468,7 +468,7 @@ vbfmt(struct wbuf *out, const char *fmt, va_list ap) case TKSETSUB: s = "-="; goto C2; case TKSETMUL: s = "*="; goto C2; case TKSETDIV: s = "/="; goto C2; - case TKSETMOD: s = "%="; goto C2; + case TKSETREM: s = "%="; goto C2; case TKSETIOR: s = "|="; goto C2; case TKSETXOR: s = "^="; goto C2; case TKSETAND: s = "&="; goto C2; -- cgit v1.2.3