diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-06-30 21:34:17 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-06-30 21:34:17 +0300 |
commit | acc40a5e379d4149a7013c8fe26f5bec1d59c092 (patch) | |
tree | 03bc073524ddaddcab8ababad92f0705ead7bf47 | |
parent | ca067d6b879e4e1b85b602c55f64f15b67f03995 (diff) | |
parent | d79685d84e8e41110f134a63379c00329cd775d6 (diff) | |
download | egawk-acc40a5e379d4149a7013c8fe26f5bec1d59c092.tar.gz egawk-acc40a5e379d4149a7013c8fe26f5bec1d59c092.tar.bz2 egawk-acc40a5e379d4149a7013c8fe26f5bec1d59c092.zip |
Merge branch 'gawk-5.0-stable'
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | awkgram.c | 4 | ||||
-rw-r--r-- | awkgram.y | 4 | ||||
-rwxr-xr-x | config.sub | 25 | ||||
-rw-r--r-- | extension/build-aux/ChangeLog | 4 | ||||
-rwxr-xr-x | extension/build-aux/config.sub | 25 | ||||
-rw-r--r-- | interpret.h | 4 |
7 files changed, 41 insertions, 36 deletions
@@ -1,3 +1,14 @@ +2019-06-30 Arnold D. Robbins <arnold@skeeve.com> + + * interpret.h (r_interpret): Fix two more cases of warning + about gawk extensions. + * awkgram.y [GRAMMAR]: And two more cases here. Thanks to + Mark Krauze <daburashka@ya.ru> for making me look for them. + + Unrelated: + + * config.sub: Updated from GNULIB. + 2019-06-26 Arnold D. Robbins <arnold@skeeve.com> * symbol.c (install): Strip off any leading `awk::' before @@ -4200,7 +4200,7 @@ regular_print: if (do_traditional || do_posix) yyerror("%s", msg); - else if (do_lint && ! warned) { + else if (do_lint_extensions && ! warned) { warned = true; lintwarn("%s", msg); } @@ -6354,7 +6354,7 @@ retry: if (c == '[') { if (do_traditional) fatal(_("multidimensional arrays are a gawk extension")); - if (do_lint) + if (do_lint_extensions) lintwarn(_("multidimensional arrays are a gawk extension")); yylval = GET_INSTRUCTION(Op_sub_array); lasttok = ']'; @@ -1994,7 +1994,7 @@ func_call if (do_traditional || do_posix) yyerror("%s", msg); - else if (do_lint && ! warned) { + else if (do_lint_extensions && ! warned) { warned = true; lintwarn("%s", msg); } @@ -3857,7 +3857,7 @@ retry: if (c == '[') { if (do_traditional) fatal(_("multidimensional arrays are a gawk extension")); - if (do_lint) + if (do_lint_extensions) lintwarn(_("multidimensional arrays are a gawk extension")); yylval = GET_INSTRUCTION(Op_sub_array); lasttok = ']'; @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2019 Free Software Foundation, Inc. -timestamp='2019-05-23' +timestamp='2019-06-30' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -337,17 +337,14 @@ case $1 in basic_machine=m88k-harris os=sysv3 ;; - hp300) + hp300 | hp300hpux) basic_machine=m68k-hp + os=hpux ;; hp300bsd) basic_machine=m68k-hp os=bsd ;; - hp300hpux) - basic_machine=m68k-hp - os=hpux - ;; hppaosf) basic_machine=hppa1.1-hp os=osf @@ -360,10 +357,6 @@ case $1 in basic_machine=i386-mach os=mach ;; - vsta) - basic_machine=i386-pc - os=vsta - ;; isi68 | isi) basic_machine=m68k-isi os=sysv @@ -612,6 +605,10 @@ case $1 in basic_machine=vax-dec os=vms ;; + vsta) + basic_machine=i386-pc + os=vsta + ;; vxworks960) basic_machine=i960-wrs os=vxworks @@ -1350,7 +1347,7 @@ case $os in | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \ | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \ | knetbsd* | mirbsd* | netbsd* \ - | bitrig* | openbsd* | solidbsd* | libertybsd* \ + | bitrig* | openbsd* | solidbsd* | libertybsd* | os108* \ | ekkobsd* | kfreebsd* | freebsd* | riscix* | lynxos* \ | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \ | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \ @@ -1368,7 +1365,8 @@ case $os in | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ | skyos* | haiku* | rdos* | toppers* | drops* | es* \ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ - | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi*) + | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ + | nsk* | powerunix) # Remember, each alternative MUST END IN *, to match a version number. ;; qnx*) @@ -1452,9 +1450,6 @@ case $os in ns2) os=nextstep2 ;; - nsk*) - os=nsk - ;; # Preserve the version number of sinix5. sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` diff --git a/extension/build-aux/ChangeLog b/extension/build-aux/ChangeLog index 79d602ee..fbe1decb 100644 --- a/extension/build-aux/ChangeLog +++ b/extension/build-aux/ChangeLog @@ -1,3 +1,7 @@ +2019-06-30 Arnold D. Robbins <arnold@skeeve.com> + + * config.sub: Updated from GNULIB. + 2019-06-21 Arnold D. Robbins <arnold@skeeve.com> * config.guess, config.sub: Updated from GNULIB. diff --git a/extension/build-aux/config.sub b/extension/build-aux/config.sub index 5b158ac4..a318a468 100755 --- a/extension/build-aux/config.sub +++ b/extension/build-aux/config.sub @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2019 Free Software Foundation, Inc. -timestamp='2019-05-23' +timestamp='2019-06-30' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -337,17 +337,14 @@ case $1 in basic_machine=m88k-harris os=sysv3 ;; - hp300) + hp300 | hp300hpux) basic_machine=m68k-hp + os=hpux ;; hp300bsd) basic_machine=m68k-hp os=bsd ;; - hp300hpux) - basic_machine=m68k-hp - os=hpux - ;; hppaosf) basic_machine=hppa1.1-hp os=osf @@ -360,10 +357,6 @@ case $1 in basic_machine=i386-mach os=mach ;; - vsta) - basic_machine=i386-pc - os=vsta - ;; isi68 | isi) basic_machine=m68k-isi os=sysv @@ -612,6 +605,10 @@ case $1 in basic_machine=vax-dec os=vms ;; + vsta) + basic_machine=i386-pc + os=vsta + ;; vxworks960) basic_machine=i960-wrs os=vxworks @@ -1350,7 +1347,7 @@ case $os in | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \ | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \ | knetbsd* | mirbsd* | netbsd* \ - | bitrig* | openbsd* | solidbsd* | libertybsd* \ + | bitrig* | openbsd* | solidbsd* | libertybsd* | os108* \ | ekkobsd* | kfreebsd* | freebsd* | riscix* | lynxos* \ | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \ | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \ @@ -1368,7 +1365,8 @@ case $os in | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ | skyos* | haiku* | rdos* | toppers* | drops* | es* \ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ - | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi*) + | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ + | nsk* | powerunix) # Remember, each alternative MUST END IN *, to match a version number. ;; qnx*) @@ -1452,9 +1450,6 @@ case $os in ns2) os=nextstep2 ;; - nsk*) - os=nsk - ;; # Preserve the version number of sinix5. sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` diff --git a/interpret.h b/interpret.h index 478dc82a..3215833e 100644 --- a/interpret.h +++ b/interpret.h @@ -264,7 +264,7 @@ uninitialized_scalar: if (t1 == func_table) { static bool warned = false; - if (do_lint && ! warned) { + if (do_lint_extensions && ! warned) { warned = true; lintwarn(_("FUNCTAB is a gawk extension")); } @@ -282,7 +282,7 @@ uninitialized_scalar: if (t1 == symbol_table) { static bool warned = false; - if (do_lint && ! warned) { + if (do_lint_extensions && ! warned) { warned = true; lintwarn(_("SYMTAB is a gawk extension")); } |