1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 14:53:16 +02:00

libexpr: Get rid of unused line tracking fields

This commit is contained in:
Robert Hensing 2024-07-11 12:58:20 +02:00
parent f9243eca75
commit 77e9f9ee82
4 changed files with 18 additions and 6 deletions

View file

@ -22,8 +22,8 @@ struct StringToken
struct ParserLocation
{
int first_line, first_column;
int last_line, last_column;
int first_column;
int last_column;
// backup to recover from yyless(0)
int stashed_first_column, stashed_last_column;
@ -39,7 +39,7 @@ struct ParserLocation
}
/** Latest doc comment position, or 0. */
int doc_comment_first_line, doc_comment_first_column, doc_comment_last_column;
int doc_comment_first_column, doc_comment_last_column;
};
struct LexerState