diff --git a/src/read.c b/src/read.c index 5ee93da4..f48384d8 100644 --- a/src/read.c +++ b/src/read.c @@ -668,6 +668,8 @@ read_nullable(pic_state *pic, struct pic_port *port, char c) } switch (c) { + case ')': + read_error(pic, "unmatched parenthesis"); case ';': return read_comment(pic, port, c); case '#':