single ')' should be an read error
This commit is contained in:
@@ -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 '#':
|
||||
|
||||
Reference in New Issue
Block a user