From: nishi Date: Wed, 19 Jun 2024 00:59:41 +0000 (+0000) Subject: better parsing X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=2c50d734b3ac98f9ade062af19f8d4f67e40f27f;p=dataworks.git better parsing git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@357 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- 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);