summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/parser.y b/parser.y
index efc2bd3c..9bac3254 100644
--- a/parser.y
+++ b/parser.y
@@ -1434,15 +1434,15 @@ quasi_item : litchars { $$ = $1; }
litchars : LITCHAR { $$ = mkstring(one, chr($1)); }
| LITCHAR restlitchar { val ch = mkstring(one, chr($1));
- $$ = string_extend(ch, $2); }
+ $$ = string_extend(ch, $2, t); }
| TEXT { $$ = string_own($1); }
- | TEXT restlitchar { $$ = string_extend(string_own($1), $2); }
+ | TEXT restlitchar { $$ = string_extend(string_own($1), $2, t); }
;
restlitchar : LITCHAR { $$ = mkstring(one, chr($1)); }
- | restlitchar LITCHAR { $$ = string_extend($1, chr($2)); }
+ | restlitchar LITCHAR { $$ = string_extend($1, chr($2), nil); }
| TEXT { $$ = string_own($1); }
- | restlitchar TEXT { $$ = string_extend($1, string_own($2)); }
+ | restlitchar TEXT { $$ = string_extend($1, string_own($2), nil); }
;
wordslit : '"' { $$ = nil; }