From 2c50d734b3ac98f9ade062af19f8d4f67e40f27f Mon Sep 17 00:00:00 2001 From: nishi Date: Wed, 19 Jun 2024 00:59:41 +0000 Subject: [PATCH] better parsing git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@357 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Grammar/dw.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grammar/dw.l b/Grammar/dw.l index 9d50a46..c8099f1 100644 --- a/Grammar/dw.l +++ b/Grammar/dw.l @@ -53,7 +53,7 @@ char* str = NULL; str = __dw_strcat(tmp, yytext); free(tmp); } -\\\" { +\\. { char* tmp = str; str = __dw_strcat(tmp, yytext + 1); free(tmp); @@ -77,7 +77,7 @@ char* str = NULL; str = __dw_strcat(tmp, yytext); free(tmp); } -\\\' { +\\. { char* tmp = str; str = __dw_strcat(tmp, yytext + 1); free(tmp); -- 2.43.0