Skip to content

Commit

Permalink
nixd/Syntax: format oneline
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Sep 17, 2023
1 parent 01d2126 commit 3584f0c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions nixd/lib/Syntax/Parser/Parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,8 @@ expr_simple
| '[' expr_list ']'

string_parts
: string {
$$ = $1;
}
| string_parts_interpolated {
$$ = $1;
}
: string { $$ = $1; }
| string_parts_interpolated { $$ = $1; }


string_parts_interpolated
Expand Down Expand Up @@ -451,9 +447,7 @@ attrpath


attr
: identifier {
$$ = $1;
}
: identifier { $$ = $1; }
| OR_KW {
auto Or = Data->State.Symbols.create("or");
$$ = decorateNode(new Identifier {
Expand Down

0 comments on commit 3584f0c

Please sign in to comment.