Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
expr/expr.cc: build fix with modern bison yylval
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarzik committed Feb 25, 2024
1 parent 4f2a987 commit 5ac467d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions expr/expr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ enum token_type {
};

extern "C" {
#if 0
long long yylval = 0;
#endif
#define YYSTYPE long long
#include "expr-parse.h"

Expand Down

0 comments on commit 5ac467d

Please sign in to comment.