single ')' should be an read error
This commit is contained in:
parent
9e56142331
commit
6a0cc4c9f7
|
@ -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 '#':
|
||||
|
|
Loading…
Reference in New Issue