From 7e248a309cc3129a2e790fd413dea80eaa03db56 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 4 Nov 2013 14:37:04 +0100 Subject: Follow-up to 3b0cd11f980a48b903262c857fde1cd9c784c2e0 - Changed to <" "> after some further brainstorming. Special thanks to Yommy. Signed-off-by: Haru --- 3rdparty/libconfig/extra/gen/scanner.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '3rdparty/libconfig/extra') diff --git a/3rdparty/libconfig/extra/gen/scanner.l b/3rdparty/libconfig/extra/gen/scanner.l index a7befd11d..4b3048fab 100644 --- a/3rdparty/libconfig/extra/gen/scanner.l +++ b/3rdparty/libconfig/extra/gen/scanner.l @@ -129,9 +129,9 @@ include_open ^[ \t]*@include[ \t]+\" return(TOK_STRING); } -\<\? { BEGIN SCRIPTBLOCK; } -([^\?]|\?[^\>])+ { scanctx_append_string(yyextra, yytext); } -\?\> { +\<\" { BEGIN SCRIPTBLOCK; } +([^\"]|\"[^\>])+ { scanctx_append_string(yyextra, yytext); } +\"\> { yylval->sval = scanctx_take_string(yyextra); BEGIN INITIAL; return(TOK_STRING); -- cgit v1.2.3-60-g2f50