1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 20:46:01 +01:00

parser.y: GLR -> LALR

This commit is contained in:
Ryan Hendrickson 2024-07-22 11:36:09 -04:00
parent 6e3b9e6a4d
commit 18db46a6cb
2 changed files with 14 additions and 4 deletions

View file

@ -20,6 +20,7 @@ struct StringToken
operator std::string_view() const { return {p, l}; }
};
// This type must be trivially copyable; see YYLTYPE_IS_TRIVIAL in parser.y.
struct ParserLocation
{
int beginOffset;