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

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;