1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-06 02:23:03 +00:00

Readd the repl.

This commit is contained in:
Calvin Rose
2017-04-17 22:14:35 -04:00
parent 6e71984fc5
commit baa3544ca0
5 changed files with 114 additions and 63 deletions

View File

@@ -422,7 +422,7 @@ static void dispatch_char(GstParser *p, uint8_t c) {
}
}
/* Dispatch character to state */
while (!done && (p->status == GST_PARSER_PENDING || p->status == GST_PARSER_ROOT)) {
while (!done) {
GstParseState *top = parser_peek(p);
switch (top->type) {
case PTYPE_ROOT: