aboutsummaryrefslogtreecommitdiff
path: root/src/grecs-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/grecs-lex.l')
-rw-r--r--src/grecs-lex.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grecs-lex.l b/src/grecs-lex.l
index a3cc7d8..4d491fe 100644
--- a/src/grecs-lex.l
+++ b/src/grecs-lex.l
@@ -411,7 +411,8 @@ ident()
len = strlen(p);
str = grecs_malloc(len + 1);
strcpy(str, p);
- yylval.string = str;
+ yylval.ident.locus = grecs_current_locus;
+ yylval.ident.string = str;
return IDENT;
}

Return to:

Send suggestions and report system problems to the System administrator.