summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index b6a3fc338..51c1b792c 100644
--- a/parse.y
+++ b/parse.y
@@ -3829,6 +3829,7 @@ dsym : tSYMBEG xstring_contents tSTRING_END
/*%%%*/
lex_state = EXPR_ENDARG;
if (!($$ = $2)) {
+ $$ = NEW_NIL();
yyerror("empty symbol literal");
}
else {