Index: src/parser/quote_expression.pir =================================================================== --- src/parser/quote_expression.pir (revision 29737) +++ src/parser/quote_expression.pir (working copy) @@ -286,7 +286,7 @@ term_scalar: mob.'to'(pos) $P0 = mob.'variable'('action'=>action) - unless $P0 goto term_literal + unless $P0 goto force_feed_dollar pos = $P0.'to'() key = 'variable' mob[key] = $P0 @@ -301,6 +301,16 @@ mob[key] = $P0 goto succeed + force_feed_dollar: + .local pmc literalmob + (literalmob, pos, target) = mob.'new'(mob) + literalmob.'result_object'('$') + inc pos + literalmob.'to'(pos) + mob['quote_literal'] = literalmob + key = 'literal' + goto succeed + succeed: mob.'to'(pos) if null action goto succeed_done