summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/scan/tokens.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/scan/tokens.l b/src/analysis/scan/tokens.l
index 11f5d9e..98c7bd8 100644
--- a/src/analysis/scan/tokens.l
+++ b/src/analysis/scan/tokens.l
@@ -482,7 +482,7 @@ bytes_fuzzy_id [\*A-Za-z_][\*A-Za-z0-9_]*
return UNSIGNED_INTEGER;
}
- <meta_value>\"{str_not_escaped}+\" {
+ <meta_value>\"{str_not_escaped}*\" {
POP_STATE;
yylval->sized_cstring.data = yytext + 1;
@@ -491,7 +491,7 @@ bytes_fuzzy_id [\*A-Za-z_][\*A-Za-z0-9_]*
return PLAIN_TEXT;
}
- <meta_value>\"{str_mixed}+\" {
+ <meta_value>\"{str_mixed}*\" {
POP_STATE;
rost_unescape_string_bytes(yytext + 1, yyleng - 2, tmp_0);
@@ -523,14 +523,14 @@ bytes_fuzzy_id [\*A-Za-z_][\*A-Za-z0-9_]*
<condition>[mM][bB] { return MB; }
<condition>[gG][bB] { return GB; }
-<condition>\"{str_not_escaped}+\" {
+<condition>\"{str_not_escaped}*\" {
yylval->sized_cstring.data = yytext + 1;
yylval->sized_cstring.len = yyleng - 2;
return PLAIN_TEXT;
}
-<condition>\"{str_mixed}+\" {
+<condition>\"{str_mixed}*\" {
POP_STATE;
rost_unescape_string_bytes(yytext + 1, yyleng - 2, tmp_0);