aboutsummaryrefslogtreecommitdiff
path: root/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'scan.c')
-rw-r--r--scan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/scan.c b/scan.c
index 34e003e..a8327bf 100644
--- a/scan.c
+++ b/scan.c
@@ -444,6 +444,12 @@ scanopen(void)
}
}
+void
+scansetloc(struct location loc)
+{
+ scanner->loc = loc;
+}
+
static void
scanclose(void)
{