From 09a5fc198a98d697d3e50c1c76392b8373f1af12 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sun, 12 Jan 2014 11:53:09 +0100 Subject: [PATCH] Fixed problem handling Obj-C protocol list when proceeded by a newline --- src/scanner.l | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scanner.l b/src/scanner.l index 5d6845e6609..89ebb43f701 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -5771,7 +5771,8 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) specName = ¤t->name; BEGIN ( Specialization ); } -"<" { +{BN}*"<" { + lineCount(); sharpCount=1; roundCount=0; lastSkipSharpContext = YY_START;