aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/lexer.l')
-rw-r--r--src/libexpr/lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/lexer.l b/src/libexpr/lexer.l
index b362f4907..2d6f8dc47 100644
--- a/src/libexpr/lexer.l
+++ b/src/libexpr/lexer.l
@@ -35,7 +35,7 @@ using namespace nix;
namespace nix {
-#define CUR_POS state->makeCurPos(*yylloc)
+#define CUR_POS state->at(*yylloc)
static void initLoc(YYLTYPE * loc)
{