summaryrefslogtreecommitdiffstats
path: root/dimension/lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/lexer.l')
-rw-r--r--dimension/lexer.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/dimension/lexer.l b/dimension/lexer.l
index c871b91..56d165a 100644
--- a/dimension/lexer.l
+++ b/dimension/lexer.l
@@ -406,7 +406,8 @@ dmnsn_tokenize(FILE *file, const char *filename)
yyset_extra(NULL, scanner);
while ((token.type = dmnsn_yylex_impl(&item, &location, filename, scanner))
- != 0) {
+ != 0)
+ {
token.value = item.value;
token.filename = location.first_filename;
token.line = location.first_line;