Commit 79a23b45 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Fixed gawk internal error in msg_parser.awk.

It looks like some gawk versions had problems when a function argument
was an unitialized variable.

parent 624a3d1b
......@@ -54,6 +54,11 @@ BEGIN {
split("", NAMES);
split("", Comments);
split("", COMMENTS);
function name_hash (name)
......@@ -234,7 +239,7 @@ function read_header_flags (flagfile, line, tokens, name, value)
if (PR) {
if (TEMPLATE == "") { TEMPLATE = PR ".in"; }
RS0=RS; RS=" \n";
RS0=RS; RS="\f\n";
getline theader < TEMPLATE;
getline header < TEMPLATE;
getline template < TEMPLATE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment