aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-11-18 06:02:42 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-11-18 06:02:42 +0200
commitdf9a742bd1404327432e60607842edd1ebd72184 (patch)
treef8cadf084890699b797817e335b7915f718a1db4 /awkgram.c
parentdad49da0e8e738ad9380379571e5771704c50dc1 (diff)
parentc2448a50be949f5df2da4f7a1baf58358b297970 (diff)
downloadegawk-df9a742bd1404327432e60607842edd1ebd72184.tar.gz
egawk-df9a742bd1404327432e60607842edd1ebd72184.tar.bz2
egawk-df9a742bd1404327432e60607842edd1ebd72184.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.c b/awkgram.c
index 78839fe9..f552d2b9 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -5615,7 +5615,7 @@ split_comment(void)
if (p[l] == '\n' && p[l+1] == '\n') {
function_comment = comment_to_save;
n = function_comment->memory;
- function_comment->memory = make_str_node(p + l + 2, n->stlen - l - 2, 0);
+ function_comment->memory = make_string(p + l + 2, n->stlen - l - 2);
/* create program comment */
program_comment = bcalloc(Op_comment, 1, sourceline);
program_comment->source_file = comment_to_save->source_file;