aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-11-18 06:10:12 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-11-18 06:10:12 +0200
commitdc7bf0cfeb2ec3eb26f1767cfe8605199613c4d6 (patch)
treef2d6dcac2918d00cd31dd2dded7a776de7fa277e /awkgram.y
parentf0b405cceab16dadbb84b95a8d68f705bc20f70f (diff)
parentc2448a50be949f5df2da4f7a1baf58358b297970 (diff)
downloadegawk-dc7bf0cfeb2ec3eb26f1767cfe8605199613c4d6.tar.gz
egawk-dc7bf0cfeb2ec3eb26f1767cfe8605199613c4d6.tar.bz2
egawk-dc7bf0cfeb2ec3eb26f1767cfe8605199613c4d6.zip
Merge branch 'master' into feature/typed-regex-2
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.y b/awkgram.y
index ccbf93aa..3a9c9296 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -3291,7 +3291,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;