diff options
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1232,12 +1232,13 @@ static int is_balanced_line(const wchar_t *line, void *ctx) }; int count[32], sp = 0; enum state state[32]; - count[sp] = 0; - state[sp] = ST_START; wchar_t ch; (void) ctx; + count[sp] = 0; + state[sp] = ST_START; + while ((ch = *line++) != 0) { again: if (sp >= 30) |