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:
parent
0076056164
commit
835a6c7bcf
3 changed files with 33 additions and 33 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue