[bugfix] EOF is a delimiter
This commit is contained in:
parent
bb43c8d9dc
commit
556a460663
|
@ -50,7 +50,7 @@ peek(struct pic_port *port)
|
||||||
static bool
|
static bool
|
||||||
isdelim(char c)
|
isdelim(char c)
|
||||||
{
|
{
|
||||||
return strchr("();,|\" \t\n\r", c) != NULL; /* ignores "#", "'" */
|
return c == EOF || strchr("();,|\" \t\n\r", c) != NULL; /* ignores "#", "'" */
|
||||||
}
|
}
|
||||||
|
|
||||||
static pic_value
|
static pic_value
|
||||||
|
|
Loading…
Reference in New Issue