From 1c41f98aabc20fce8a1eb8fd7d1b6baabfa1dea5 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 20 Jan 2016 11:22:09 +0000 Subject: 37705: don't turn - to Dash after start of brace parameter --- Src/lex.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Src/lex.c') diff --git a/Src/lex.c b/Src/lex.c index 3ea878c7b..23b0a1cd9 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1026,8 +1026,10 @@ gettokstr(int c, int sub) c = Inbrace; ++bct; cmdpush(CS_BRACEPAR); - if (!in_brace_param) - in_brace_param = bct; + if (!in_brace_param) { + if ((in_brace_param = bct)) + seen_brct = 0; + } } else { hungetc(e); lexstop = 0; -- cgit 1.4.1