aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-05-27 14:36:23 +0200
committerlemon <lsof@mailbox.org>2023-05-27 14:36:23 +0200
commit0f53520c5ee5f07ec2ba0361172fd72bd1456ad4 (patch)
tree6ba8c3bb92dbe451ac7b36fabfa27021c79e1a45 /io.c
parent640a3dac2b18d037169af15dfd5502c386c7e828 (diff)
recursive descent -> precedence climbing parser
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
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;