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

Fixed gawk internal error in msg_parser.awk.

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

darcs-hash:20060125155720-65a35-06a9a77dbe9abbcf4d305215b2c35f9c1ea36285.gz
parent 624a3d1b
......@@ -54,6 +54,11 @@ BEGIN {
split("", NAMES);
split("", Comments);
split("", COMMENTS);
template="";
template1="";
template2="";
template3=="";
}
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