From 52aeb9aaeb4799b760138a7c34b18ede4b47242a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 18 May 2015 09:56:00 +0100 Subject: 35168: Improve parsing of case patterns. "|" is now found properly by looking for words that come from the lexical analyser, rather than hacking a pattern returned in one dollop. Update some completion functions that need extra quoting as a result. Add test for new parsing. Update version number to 5.0.8-dev-3 because of wordcode incompatibility. --- Src/lex.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/lex.c') diff --git a/Src/lex.c b/Src/lex.c index 841fb0b86..87b0cd3af 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -761,6 +761,8 @@ gettok(void) lexstop = 0; return BAR; case LX1_INPAR: + if (incasepat == 2) + return INPAR; d = hgetc(); if (d == '(') { if (infor) { -- cgit 1.4.1