aboutsummaryrefslogtreecommitdiff
path: root/libcpp/directives-only.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp/directives-only.c')
-rw-r--r--libcpp/directives-only.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/directives-only.c b/libcpp/directives-only.c
index e19f806..c6772af 100644
--- a/libcpp/directives-only.c
+++ b/libcpp/directives-only.c
@@ -142,7 +142,7 @@ _cpp_preprocess_dir_only (cpp_reader *pfile,
flags |= DO_LINE_COMMENT;
else if (!(flags & DO_SPECIAL))
/* Mark the position for possible error reporting. */
- LINEMAP_POSITION_FOR_COLUMN (loc, pfile->line_table, col);
+ loc = linemap_position_for_column (pfile->line_table, col);
break;