1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-01 16:41:47 +02:00

rename ParserState::{makeCurPos -> at}

most instances of this being used do not refer to the "current"
position, sometimes not even to one reasonably close by. it could also
be called `makePos` instead, but `at` seems clear in context.
This commit is contained in:
pennae 2024-01-15 16:52:18 +01:00
parent 0076056164
commit 835a6c7bcf
3 changed files with 33 additions and 33 deletions

View file

@ -29,7 +29,7 @@ using namespace nix;
namespace nix {
#define CUR_POS state->makeCurPos(*yylloc)
#define CUR_POS state->at(*yylloc)
static void initLoc(YYLTYPE * loc)
{