Skip to content

Commit

Permalink
nixd/Syntax: allow empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Sep 18, 2023
1 parent 8052d91 commit 830a825
Show file tree
Hide file tree
Showing 2 changed files with 1,368 additions and 0 deletions.
1 change: 1 addition & 0 deletions nixd/lib/Syntax/Parser/Parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ list_body
string_parts
: string { $$ = $1; }
| string_parts_interpolated { $$ = $1; }
| { $$ = decorateNode(new String, *yylocp, *Data); }


string_parts_interpolated
Expand Down
Loading

0 comments on commit 830a825

Please sign in to comment.