diff options
Diffstat (limited to 'awkgram.y')
-rw-r--r-- | awkgram.y | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2908,6 +2908,8 @@ allow_newline(void) comment->memory->stptr[comment->memory->stlen] = '\0'; } else { comment = bcalloc(Op_comment, 1, sourceline); + comment->source_file = source; + comment->memory = make_str_node(tokstart, tok - tokstart, 0); } // } else { @@ -3136,6 +3138,7 @@ retry: comment->memory->stptr[comment->memory->stlen] = '\0'; } else { comment = bcalloc(Op_comment, 1, sourceline); + comment->source_file = source; comment->memory = make_str_node(tokstart, tok - tokstart, 0); } |