mirror of git://gcc.gnu.org/git/gcc.git
syscall: Remove a couple more 3-parameter match's in mksyscall.awk.
From-SVN: r180712
This commit is contained in:
parent
788a290865
commit
b59546bf65
|
@ -170,7 +170,7 @@ BEGIN {
|
||||||
printf("\t}\n")
|
printf("\t}\n")
|
||||||
|
|
||||||
++carg
|
++carg
|
||||||
if (match(cargs[carg], "^([^ ]*) ([^ ]*)$", cparam) == 0) {
|
if (split(cargs[carg], cparam) != 2) {
|
||||||
print loc, "bad C parameter:", cargs[carg] | "cat 1>&2"
|
print loc, "bad C parameter:", cargs[carg] | "cat 1>&2"
|
||||||
status = 1
|
status = 1
|
||||||
next
|
next
|
||||||
|
@ -207,7 +207,7 @@ BEGIN {
|
||||||
}
|
}
|
||||||
usedr = 0
|
usedr = 0
|
||||||
for (goresult = 1; goresults[goresult] != ""; goresult++) {
|
for (goresult = 1; goresults[goresult] != ""; goresult++) {
|
||||||
if (match(goresults[goresult], "^([^ ]*) ([^ ]*)$", goparam) == 0) {
|
if (split(goresults[goresult], goparam) != 2) {
|
||||||
print loc, "bad result:", goresults[goresult] | "cat 1>&2"
|
print loc, "bad result:", goresults[goresult] | "cat 1>&2"
|
||||||
status = 1
|
status = 1
|
||||||
next
|
next
|
||||||
|
|
Loading…
Reference in New Issue