about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/parser.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index ec194a516adb..e5c586266f78 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -411,6 +411,8 @@ attrpath
 attr
   : ID { $$ = $1; }
   | OR_KW { $$ = "or"; }
+  | '"' STR '"'
+    { $$ = strdup(((string) ((ExprString *) $2)->s).c_str()); delete $2; }
   ;
 
 expr_list