summaryrefslogtreecommitdiff
path: root/asm/preproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'asm/preproc.c')
-rw-r--r--asm/preproc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/preproc.c b/asm/preproc.c
index cdea9206..f5399927 100644
--- a/asm/preproc.c
+++ b/asm/preproc.c
@@ -3581,6 +3581,10 @@ issue_error:
/*
* Syntax is `%line nnn[+mmm] [filename]'
*/
+ if (unlikely(pp_noline)) {
+ free_tlist(origline);
+ return DIRECTIVE_FOUND;
+ }
tline = tline->next;
skip_white_(tline);
if (!tok_type_(tline, TOK_NUMBER)) {