1
0
Fork 0
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:
Robert Hensing 2025-03-28 15:55:05 +00:00 committed by GitHub
commit a2e43cd8e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;