summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index bca07741..c30020fc 100644
--- a/parser.c
+++ b/parser.c
@@ -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)