mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
Merge pull request #12771 from roberth/suppress-parser-warning
nix-expr/parser: Suppress warning
This commit is contained in:
commit
a2e43cd8e6
1 changed files with 6 additions and 1 deletions
|
@ -179,7 +179,12 @@ static Expr * makeCall(PosIdx pos, Expr * fn, Expr * arg) {
|
|||
|
||||
%%
|
||||
|
||||
start: expr { state->result = $1; };
|
||||
start: expr {
|
||||
state->result = $1;
|
||||
|
||||
// This parser does not use yynerrs; suppress the warning.
|
||||
(void) yynerrs;
|
||||
};
|
||||
|
||||
expr: expr_function;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue