Hurd: Make gdb/reply_mig_hack.awk script compatible to "mawk"

The "mawk" AWK implementation did't like that regular expression:

    mawk: [...]/gdb/reply_mig_hack.awk: line 98: regular expression compile failed (missing operand)

	gdb/
	* reply_mig_hack.awk: Rewrite one regular expression.
This commit is contained in:
Thomas Schwinge 2016-01-12 12:53:09 +01:00
parent 5230aa4dc9
commit 5eddd57823
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2016-01-12 Thomas Schwinge <thomas@codesourcery.com>
* reply_mig_hack.awk: Rewrite one regular expression.
2016-01-11 Mike Frysinger <vapier@gentoo.org>
* acinclude.m4: Include new warning.m4 file.

View file

@ -95,7 +95,7 @@ parse_phase == 4 {
print; next;
}
parse_phase == 5 && /^[ \t]*(auto |static |)const mach_msg_type_t/ {
parse_phase == 5 && /^[ \t]*(auto |static )?const mach_msg_type_t/ {
# The type check structure for an argument.
arg_check_name[num_checks] = $(NF - 2);
num_checks++;