copyright/mawk.copyright
changeset 0 179dae5bc04a
equal deleted inserted replaced
-1:000000000000 0:179dae5bc04a
       
     1 mawk-1.3.4-20100625/repl.h:
       
     2 *******************************************
       
     3 repl.h
       
     4 copyright 1991, Michael D. Brennan
       
     5 
       
     6 This is a source file for mawk, an implementation of
       
     7 the AWK programming language.
       
     8 
       
     9 Mawk is distributed without warranty under the terms of
       
    10 the GNU General Public License, version 2, 1991.
       
    11 *******************************************
       
    12 
       
    13 
       
    14  $MawkId: repl.h,v 1.4 2009/07/27 21:47:40 tom Exp $
       
    15  @Log: repl.h,v @
       
    16  Revision 1.1.1.1  1993/07/03  18:58:19  mike
       
    17  move source to cvs
       
    18 
       
    19  Revision 5.1  1991/12/05  07:59:32  brennan
       
    20  1.1 pre-release
       
    21 
       
    22  
       
    23 
       
    24  repl.h 
       
    25 
       
    26 
       
    27 --------------------------------------------------------------------
       
    28 
       
    29 mawk-1.3.4-20100625/memory.h:
       
    30 *******************************************
       
    31 memory.h
       
    32 copyright 1991, Michael D. Brennan
       
    33 
       
    34 This is a source file for mawk, an implementation of
       
    35 the AWK programming language.
       
    36 
       
    37 Mawk is distributed without warranty under the terms of
       
    38 the GNU General Public License, version 2, 1991.
       
    39 *******************************************
       
    40 
       
    41 
       
    42  $MawkId: memory.h,v 1.7 2010/05/07 00:41:27 tom Exp $
       
    43  @Log: memory.h,v @
       
    44  Revision 1.1.1.1  1993/07/03  18:58:17  mike
       
    45  move source to cvs
       
    46 
       
    47  Revision 5.2  1993/01/01  21:30:48  mike
       
    48  split new_STRING() into new_STRING and new_STRING0
       
    49 
       
    50  Revision 5.1  1991/12/05  07:59:28  brennan
       
    51  1.1 pre-release
       
    52 
       
    53  
       
    54 
       
    55   memory.h  
       
    56 
       
    57 
       
    58 --------------------------------------------------------------------
       
    59 
       
    60 mawk-1.3.4-20100625/matherr.c:
       
    61 *******************************************
       
    62 matherr.c
       
    63 copyright 1991, Michael D. Brennan
       
    64 
       
    65 This is a source file for mawk, an implementation of
       
    66 the AWK programming language.
       
    67 
       
    68 Mawk is distributed without warranty under the terms of
       
    69 the GNU General Public License, version 2, 1991.
       
    70 *******************************************
       
    71 
       
    72 
       
    73  $MawkId: matherr.c,v 1.23 2010/02/21 15:37:21 tom Exp $
       
    74 
       
    75  @Log: matherr.c,v @
       
    76  Revision 1.9  1996/09/01 16:54:35  mike
       
    77  Third try at bug fix for solaris strtod.
       
    78 
       
    79  Revision 1.6  1994/12/18  20:53:43  mike
       
    80  check NetBSD mathlib defines
       
    81 
       
    82  Revision 1.5  1994/12/14  14:48:57  mike
       
    83  add <siginfo.h> include -- sysV doesn't have it inside <signal.h>
       
    84  restore #else that had been removed
       
    85 
       
    86  Revision 1.4  1994/10/11  00:36:17  mike
       
    87  systemVr4 siginfo
       
    88 
       
    89  Revision 1.3  1993/07/17  13:23:04  mike
       
    90  indent and general code cleanup
       
    91 
       
    92  Revision 1.2	 1993/07/04  12:52:03  mike
       
    93  start on autoconfig changes
       
    94 
       
    95  Revision 5.2	 1992/03/31  16:14:44  brennan
       
    96  patch2:
       
    97  TURN_ON_FPE_TRAPS() macro
       
    98  USE_IEEEFP_H macro
       
    99 
       
   100  Revision 5.1	 91/12/05  07:56:18  brennan
       
   101  1.1 pre-release
       
   102 
       
   103 
       
   104 
       
   105 
       
   106 --------------------------------------------------------------------
       
   107 
       
   108 mawk-1.3.4-20100625/re_cmpl.c:
       
   109 *******************************************
       
   110 re_cmpl.c
       
   111 copyright 1991, Michael D. Brennan
       
   112 
       
   113 This is a source file for mawk, an implementation of
       
   114 the AWK programming language.
       
   115 
       
   116 Mawk is distributed without warranty under the terms of
       
   117 the GNU General Public License, version 2, 1991.
       
   118 *******************************************
       
   119 
       
   120 
       
   121  $MawkId: re_cmpl.c,v 1.10 2010/05/07 08:15:08 tom Exp $
       
   122  @Log: re_cmpl.c,v @
       
   123  Revision 1.6  1994/12/13  00:14:58  mike
       
   124  \\ -> \ on second replacement scan
       
   125 
       
   126  Revision 1.5  1994/10/08  19:15:51  mike
       
   127  remove SM_DOS
       
   128 
       
   129  Revision 1.4  1993/07/21  01:17:53  mike
       
   130  handle "&" as replacement correctly
       
   131 
       
   132  Revision 1.3  1993/07/17  13:23:10  mike
       
   133  indent and general code cleanup
       
   134 
       
   135  Revision 1.2  1993/07/15  23:38:23  mike
       
   136  SIZE_T and indent
       
   137 
       
   138  Revision 1.1.1.1  1993/07/03	 18:58:19  mike
       
   139  move source to cvs
       
   140 
       
   141  Revision 5.2	 1993/01/01  21:30:48  mike
       
   142  split new_STRING() into new_STRING and new_STRING0
       
   143 
       
   144  Revision 5.1	 1991/12/05  07:56:25  brennan
       
   145  1.1 pre-release
       
   146 
       
   147 
       
   148 
       
   149   re_cmpl.c  
       
   150 
       
   151 
       
   152 --------------------------------------------------------------------
       
   153 
       
   154 mawk-1.3.4-20100625/rexp.c:
       
   155 *******************************************
       
   156 rexp.c
       
   157 copyright 1991, Michael D. Brennan
       
   158 
       
   159 This is a source file for mawk, an implementation of
       
   160 the AWK programming language.
       
   161 
       
   162 Mawk is distributed without warranty under the terms of
       
   163 the GNU General Public License, version 2, 1991.
       
   164 *******************************************
       
   165 
       
   166 
       
   167  $MawkId: rexp.c,v 1.10 2009/09/13 22:43:29 tom Exp $
       
   168  @Log: rexp.c,v @
       
   169  Revision 1.3  1996/09/02 18:47:36  mike
       
   170  Make ^* and ^+ syntax errors.
       
   171 
       
   172  Revision 1.2  1993/07/23 13:21:32  mike
       
   173  cleanup rexp code
       
   174 
       
   175  Revision 1.1.1.1  1993/07/03	 18:58:26  mike
       
   176  move source to cvs
       
   177 
       
   178  Revision 3.4	 1991/08/13  09:09:59  brennan
       
   179  VERSION .9994
       
   180 
       
   181  Revision 3.3	 91/08/04  15:45:03  brennan
       
   182  no longer attempt to recover mem on failed REcompile
       
   183  Its not worth the effort
       
   184 
       
   185  Revision 3.2	 91/08/03  07:24:06  brennan
       
   186  check for empty machine stack (missing operand) wasn't quite right
       
   187 
       
   188  Revision 3.1	 91/06/07  10:33:16  brennan
       
   189  VERSION 0.995
       
   190 
       
   191  Revision 1.7	 91/06/05  08:58:47  brennan
       
   192  change RE_free to free
       
   193 
       
   194  Revision 1.6	 91/06/03  07:07:17  brennan
       
   195  moved parser stacks inside REcompile
       
   196  removed unnecessary copying
       
   197 
       
   198  
       
   199 
       
   200   op precedence  parser for regular expressions  
       
   201 
       
   202 
       
   203 --------------------------------------------------------------------
       
   204 
       
   205 mawk-1.3.4-20100625/scan.c:
       
   206 *******************************************
       
   207 scan.c
       
   208 copyright 1991, Michael D. Brennan
       
   209 
       
   210 This is a source file for mawk, an implementation of
       
   211 the AWK programming language.
       
   212 
       
   213 Mawk is distributed without warranty under the terms of
       
   214 the GNU General Public License, version 2, 1991.
       
   215 *******************************************
       
   216 
       
   217 
       
   218  $MawkId: scan.c,v 1.22 2010/06/25 22:34:36 tom Exp $
       
   219  @Log: scan.c,v @
       
   220  Revision 1.8  1996/07/28 21:47:05  mike
       
   221  gnuish patch
       
   222 
       
   223  Revision 1.7  1995/06/18  19:42:24  mike
       
   224  Remove some redundant declarations and add some prototypes
       
   225 
       
   226  Revision 1.6  1995/06/10  16:57:52  mike
       
   227  silently exit(0) if no program
       
   228  always add a '\n' on eof in scan_fillbuff()
       
   229 
       
   230  Revision 1.5  1995/06/06  00:18:33  mike
       
   231  change mawk_exit(1) to mawk_exit(2)
       
   232 
       
   233  Revision 1.4  1994/09/23  00:20:04  mike
       
   234  minor bug fix: handle \ in eat_nl()
       
   235 
       
   236  Revision 1.3  1993/07/17  00:45:21  mike
       
   237  indent
       
   238 
       
   239  Revision 1.2	 1993/07/04  12:52:09  mike
       
   240  start on autoconfig changes
       
   241 
       
   242  Revision 1.1.1.1  1993/07/03	 18:58:20  mike
       
   243  move source to cvs
       
   244 
       
   245  Revision 5.6	 1993/02/13  21:57:33  mike
       
   246  merge patch3
       
   247 
       
   248  Revision 5.5	 1993/01/01  21:30:48  mike
       
   249  split new_STRING() into new_STRING and new_STRING0
       
   250 
       
   251  Revision 5.4.1.1  1993/01/15	 03:33:50  mike
       
   252  patch3: safer double to int conversion
       
   253 
       
   254  Revision 5.4	 1992/11/29  18:57:50  mike
       
   255  field expressions convert to long so 16 bit and 32 bit
       
   256  systems behave the same
       
   257 
       
   258  Revision 5.3	 1992/07/08  15:43:41  brennan
       
   259  patch2: length returns.  I am a wimp
       
   260 
       
   261  Revision 5.2	 1992/02/21  14:16:53  brennan
       
   262  fix:	 getline <=
       
   263 
       
   264  Revision 5.1	 91/12/05  07:56:27  brennan
       
   265  1.1 pre-release
       
   266 
       
   267 
       
   268 
       
   269 
       
   270 --------------------------------------------------------------------
       
   271 
       
   272 mawk-1.3.4-20100625/rexp3.c:
       
   273 *******************************************
       
   274 rexp3.c
       
   275 copyright 1991, Michael D. Brennan
       
   276 
       
   277 This is a source file for mawk, an implementation of
       
   278 the AWK programming language.
       
   279 
       
   280 Mawk is distributed without warranty under the terms of
       
   281 the GNU General Public License, version 2, 1991.
       
   282 *******************************************
       
   283 
       
   284 
       
   285  $MawkId: rexp3.c,v 1.25 2010/05/07 22:09:39 tom Exp $
       
   286  @Log: rexp3.c,v @
       
   287  Revision 1.3  1993/07/24  17:55:15  mike
       
   288  more cleanup
       
   289 
       
   290  Revision 1.2	 1993/07/23  13:21:48  mike
       
   291  cleanup rexp code
       
   292 
       
   293  Revision 1.1.1.1  1993/07/03	 18:58:28  mike
       
   294  move source to cvs
       
   295 
       
   296  Revision 3.6	 1992/12/24  00:44:53  mike
       
   297  fixed potential LMDOS bozo with M_STR+U_ON+END_ON
       
   298  fixed minor bug in M_CLASS+U_ON+END_ON
       
   299 
       
   300  Revision 3.5	 1992/01/21  17:33:20  brennan
       
   301  added some casts so that character classes work with signed chars
       
   302 
       
   303  Revision 3.4	 91/10/29  10:54:09  brennan
       
   304  SIZE_T
       
   305 
       
   306  Revision 3.3	 91/08/13  09:10:18  brennan
       
   307  VERSION .9994
       
   308 
       
   309  Revision 3.2	 91/06/10  16:18:17  brennan
       
   310  changes for V7
       
   311 
       
   312  Revision 3.1	 91/06/07  10:33:28  brennan
       
   313  VERSION 0.995
       
   314 
       
   315  Revision 1.4	 91/05/31  10:56:32  brennan
       
   316  stack_empty hack for DOS large model
       
   317 
       
   318 
       
   319 
       
   320   match a string against a machine   
       
   321 
       
   322 
       
   323 --------------------------------------------------------------------
       
   324 
       
   325 mawk-1.3.4-20100625/files.c:
       
   326 *******************************************
       
   327 files.c
       
   328 copyright 1991-94.  Michael D. Brennan
       
   329 
       
   330 This is a source file for mawk, an implementation of
       
   331 the AWK programming language.
       
   332 
       
   333 Mawk is distributed without warranty under the terms of
       
   334 the GNU General Public License, version 2, 1991.
       
   335 *******************************************
       
   336 
       
   337 
       
   338  $MawkId: files.c,v 1.16 2010/06/25 21:56:01 tom Exp $
       
   339 
       
   340  @Log: files.c,v @
       
   341  Revision 1.9  1996/01/14  17:14:10  mike
       
   342  flush_all_output()
       
   343 
       
   344  Revision 1.8  1995/06/06  00:18:27  mike
       
   345  change mawk_exit(1) to mawk_exit(2)
       
   346 
       
   347  Revision 1.7  1994/12/11  20:48:50  mike
       
   348  fflush builtin
       
   349 
       
   350  Revision 1.6  1994/10/08  19:15:40  mike
       
   351  remove SM_DOS
       
   352 
       
   353  Revision 1.5  1994/04/17  20:01:37  mike
       
   354  recognize filename "/dev/stdout"
       
   355 
       
   356  Revision 1.4  1994/02/21  00:11:07  mike
       
   357  code cleanup
       
   358 
       
   359  Revision 1.3  1993/07/16  01:00:36  mike
       
   360  cleanup and indent
       
   361 
       
   362  Revision 5.5	 1992/12/17  02:48:01  mike
       
   363  1.1.2d changes for DOS
       
   364 
       
   365  Revision 5.4	 1992/07/10  16:10:30  brennan
       
   366  patch2
       
   367  MsDOS: remove useless NO_BINMODE macro
       
   368  get process exit code on in pipes
       
   369 
       
   370  Revision 5.3	 1992/04/07  20:21:17  brennan
       
   371  patch 2
       
   372  unbuffered output to a tty
       
   373 
       
   374  Revision 5.2	 1992/04/07  16:03:08  brennan
       
   375  patch 2
       
   376  allow same filename for output and input, but use different descriptors
       
   377  E.g. < "/dev/tty" and > "/dev/tty"
       
   378 
       
   379  Revision 5.1	 91/12/05  07:56:00  brennan
       
   380  1.1 pre-release
       
   381  
       
   382 
       
   383  files.c 
       
   384 
       
   385 
       
   386 --------------------------------------------------------------------
       
   387 
       
   388 mawk-1.3.4-20100625/rexp1.c:
       
   389 *******************************************
       
   390 rexp1.c
       
   391 copyright 1991, Michael D. Brennan
       
   392 
       
   393 This is a source file for mawk, an implementation of
       
   394 the AWK programming language.
       
   395 
       
   396 Mawk is distributed without warranty under the terms of
       
   397 the GNU General Public License, version 2, 1991.
       
   398 *******************************************
       
   399 
       
   400 
       
   401  $MawkId: rexp1.c,v 1.12 2010/05/07 22:05:40 tom Exp $
       
   402  @Log: rexp1.c,v @
       
   403  Revision 1.3  1993/07/24  17:55:10  mike
       
   404  more cleanup
       
   405 
       
   406  Revision 1.2	 1993/07/23  13:21:41  mike
       
   407  cleanup rexp code
       
   408 
       
   409  Revision 1.1.1.1  1993/07/03	 18:58:27  mike
       
   410  move source to cvs
       
   411 
       
   412  Revision 3.4	 1992/02/20  16:08:12  brennan
       
   413  change new_TWO() to work around sun acc bug
       
   414 
       
   415  Revision 3.3	 91/10/29  10:54:01  brennan
       
   416  SIZE_T
       
   417 
       
   418  Revision 3.2	 91/08/13  09:10:11  brennan
       
   419  VERSION .9994
       
   420 
       
   421  Revision 3.1	 91/06/07  10:33:22  brennan
       
   422  VERSION 0.995
       
   423 
       
   424  
       
   425 
       
   426   re machine	operations  
       
   427 
       
   428 
       
   429 --------------------------------------------------------------------
       
   430 
       
   431 mawk-1.3.4-20100625/msdos/ztc.h:
       
   432 *******************************************
       
   433 ztc.h
       
   434 copyright 1992-4, Michael D. Brennan
       
   435 
       
   436 This is a source file for mawk, an implementation of
       
   437 the AWK programming language.
       
   438 
       
   439 Mawk is distributed without warranty under the terms of
       
   440 the GNU General Public License, version 2, 1991.
       
   441 *******************************************
       
   442 
       
   443  Zortech C++ under MSDOS 
       
   444 
       
   445  @Log: ztc.h,v @
       
   446  Revision 1.3  1994/10/08  19:12:08  mike
       
   447  SET_PROGNAME
       
   448 
       
   449  Revision 1.2  1994/10/08  18:49:30  mike
       
   450  add MAX__INT etc
       
   451 
       
   452  Revision 1.1  1994/10/08  18:24:43  mike
       
   453  moved from config directory
       
   454 
       
   455  Revision 1.1.1.1  1993/07/03  18:58:37  mike
       
   456  move source to cvs
       
   457 
       
   458  Revision 1.1  1992/12/27  01:42:50  mike
       
   459  Initial revision
       
   460 
       
   461  Revision 4.2.1  92/06/01  00:00:00  bmyers
       
   462  create Zortech C++ version from Borland C++ version
       
   463  ZTC has matherr function and no info for floating point exceptions.
       
   464 
       
   465 
       
   466 
       
   467 
       
   468 This might not work anymore under mawk 1.2
       
   469 MDB 10/94
       
   470 
       
   471 
       
   472 
       
   473 --------------------------------------------------------------------
       
   474 
       
   475 mawk-1.3.4-20100625/regexp.h:
       
   476 *******************************************
       
   477 regexp.h
       
   478 copyright 1991, Michael D. Brennan
       
   479 
       
   480 This is a source file for mawk, an implementation of
       
   481 the AWK programming language.
       
   482 
       
   483 Mawk is distributed without warranty under the terms of
       
   484 the GNU General Public License, version 2, 1991.
       
   485 *******************************************
       
   486 
       
   487 
       
   488  $MawkId: regexp.h,v 1.9 2010/05/07 08:10:40 tom Exp $
       
   489  @Log: regexp.h,v @
       
   490  Revision 1.1.1.1  1993/07/03  18:58:19  mike
       
   491  move source to cvs
       
   492 
       
   493  Revision 5.1  1991/12/05  07:59:30  brennan
       
   494  1.1 pre-release
       
   495 
       
   496  
       
   497 
       
   498 --------------------------------------------------------------------
       
   499 
       
   500 mawk-1.3.4-20100625/print.c:
       
   501 *******************************************
       
   502 print.c
       
   503 copyright 1991-1993.  Michael D. Brennan
       
   504 
       
   505 This is a source file for mawk, an implementation of
       
   506 the AWK programming language.
       
   507 
       
   508 Mawk is distributed without warranty under the terms of
       
   509 the GNU General Public License, version 2, 1991.
       
   510 *******************************************
       
   511 
       
   512 
       
   513  $MawkId: print.c,v 1.21 2010/05/07 22:01:46 tom Exp $
       
   514  @Log: print.c,v @
       
   515  Revision 1.7  1996/09/18 01:04:36  mike
       
   516  Check ferror() after print and printf.
       
   517 
       
   518  Revision 1.6  1995/10/13  16:56:45  mike
       
   519  Some assumptions that int==long were still in do_printf -- now removed.
       
   520 
       
   521  Revision 1.5  1995/06/18  19:17:50  mike
       
   522  Create a type Int which on most machines is an int, but on machines
       
   523  with 16bit ints, i.e., the PC is a long.  This fixes implicit assumption
       
   524  that int==long.
       
   525 
       
   526  Revision 1.4  1994/10/08  19:15:50  mike
       
   527  remove SM_DOS
       
   528 
       
   529  Revision 1.3  1993/07/15  23:38:19  mike
       
   530  SIZE_T and indent
       
   531 
       
   532  Revision 1.2	 1993/07/07  00:07:50  mike
       
   533  more work on 1.2
       
   534 
       
   535  Revision 1.1.1.1  1993/07/03	 18:58:18  mike
       
   536  move source to cvs
       
   537 
       
   538  Revision 5.6	 1993/02/13  21:57:30  mike
       
   539  merge patch3
       
   540 
       
   541  Revision 5.5	 1993/01/01  21:30:48  mike
       
   542  split new_STRING() into new_STRING and new_STRING0
       
   543 
       
   544  Revision 5.4.1.2  1993/01/20	 12:53:11  mike
       
   545  d_to_l()
       
   546 
       
   547  Revision 5.4.1.1  1993/01/15	 03:33:47  mike
       
   548  patch3: safer double to int conversion
       
   549 
       
   550  Revision 5.4	 1992/11/29  18:03:11  mike
       
   551  when printing integers, convert doubles to
       
   552  longs so output is the same on 16bit systems as 32bit systems
       
   553 
       
   554  Revision 5.3	 1992/08/17  14:23:21  brennan
       
   555  patch2: After parsing, only bi_sprintf() uses string_buff.
       
   556 
       
   557  Revision 5.2	 1992/02/24  10:52:16  brennan
       
   558  printf and sprintf() can now have more args than % conversions
       
   559  removed HAVE_PRINTF_HD -- it was too obscure
       
   560 
       
   561  Revision 5.1	 91/12/05  07:56:22  brennan
       
   562  1.1 pre-release
       
   563 
       
   564 
       
   565 
       
   566 
       
   567 --------------------------------------------------------------------
       
   568 
       
   569 mawk-1.3.4-20100625/fin.h:
       
   570 *******************************************
       
   571 fin.h
       
   572 copyright 1991, Michael D. Brennan
       
   573 
       
   574 This is a source file for mawk, an implementation of
       
   575 the AWK programming language.
       
   576 
       
   577 Mawk is distributed without warranty under the terms of
       
   578 the GNU General Public License, version 2, 1991.
       
   579 *******************************************
       
   580 
       
   581 
       
   582  $MawkId: fin.h,v 1.10 2010/06/25 21:53:10 tom Exp $
       
   583  @Log: fin.h,v @
       
   584  Revision 1.1.1.1  1993/07/03  18:58:13  mike
       
   585  move source to cvs
       
   586 
       
   587  Revision 5.2  1992/01/06  08:16:24  brennan
       
   588  setmode() proto for MSDOS
       
   589 
       
   590  Revision 5.1  91/12/05  07:59:20  brennan
       
   591  1.1 pre-release
       
   592 
       
   593 
       
   594 
       
   595  fin.h 
       
   596 
       
   597 
       
   598 --------------------------------------------------------------------
       
   599 
       
   600 mawk-1.3.4-20100625/scan.h:
       
   601 *******************************************
       
   602 scan.h
       
   603 copyright 1991, Michael D. Brennan
       
   604 
       
   605 This is a source file for mawk, an implementation of
       
   606 the AWK programming language.
       
   607 
       
   608 Mawk is distributed without warranty under the terms of
       
   609 the GNU General Public License, version 2, 1991.
       
   610 *******************************************
       
   611 
       
   612 
       
   613  $MawkId: scan.h,v 1.3 2009/12/13 19:43:23 Jonathan.Nieder Exp $
       
   614  @Log: scan.h,v @
       
   615  Revision 1.3  1995/06/18  19:42:26  mike
       
   616  Remove some redundant declarations and add some prototypes
       
   617 
       
   618  Revision 1.2  1994/09/23  00:20:06  mike
       
   619  minor bug fix: handle \ in eat_nl()
       
   620 
       
   621  Revision 1.1.1.1  1993/07/03  18:58:20  mike
       
   622  move source to cvs
       
   623 
       
   624  Revision 5.1  1991/12/05  07:59:33  brennan
       
   625  1.1 pre-release
       
   626 
       
   627  
       
   628 
       
   629  scan.h  
       
   630 
       
   631 
       
   632 --------------------------------------------------------------------
       
   633 
       
   634 mawk-1.3.4-20100625/mawk.h:
       
   635 *******************************************
       
   636 mawk.h
       
   637 copyright 1991-94, Michael D. Brennan
       
   638 
       
   639 This is a source file for mawk, an implementation of
       
   640 the AWK programming language.
       
   641 
       
   642 Mawk is distributed without warranty under the terms of
       
   643 the GNU General Public License, version 2, 1991.
       
   644 *******************************************
       
   645 
       
   646 
       
   647  $MawkId: mawk.h,v 1.19 2010/05/07 22:01:59 tom Exp $
       
   648  @Log: mawk.h,v @
       
   649  Revision 1.10  1996/08/25 19:31:04  mike
       
   650  Added work-around for solaris strtod overflow bug.
       
   651 
       
   652  Revision 1.9  1995/06/18  19:42:21  mike
       
   653  Remove some redundant declarations and add some prototypes
       
   654 
       
   655  Revision 1.8  1995/06/18  19:17:48  mike
       
   656  Create a type Int which on most machines is an int, but on machines
       
   657  with 16bit ints, i.e., the PC is a long.  This fixes implicit assumption
       
   658  that int==long.
       
   659 
       
   660  Revision 1.7  1995/06/09  22:57:17  mike
       
   661  parse() no longer returns on error
       
   662 
       
   663  Revision 1.6  1994/12/13  00:09:55  mike
       
   664  rt_nr and rt_fnr for run-time error messages
       
   665 
       
   666  Revision 1.5  1994/12/11  23:25:09  mike
       
   667  -Wi option
       
   668 
       
   669  Revision 1.4  1994/12/11  22:14:18  mike
       
   670  remove THINK_C #defines.  Not a political statement, just no indication
       
   671  that anyone ever used it.
       
   672 
       
   673  Revision 1.3  1993/07/07  00:07:41  mike
       
   674  more work on 1.2
       
   675 
       
   676  Revision 1.2  1993/07/04  12:52:06  mike
       
   677  start on autoconfig changes
       
   678  
       
   679 
       
   680   mawk.h  
       
   681 
       
   682 
       
   683 --------------------------------------------------------------------
       
   684 
       
   685 mawk-1.3.4-20100625/msdos/dosexec.c:
       
   686 *******************************************
       
   687 dosexec.h
       
   688 copyright 1991, Michael D. Brennan
       
   689 
       
   690 This is a source file for mawk, an implementation of
       
   691 the AWK programming language.
       
   692 
       
   693 Mawk is distributed without warranty under the terms of
       
   694 the GNU General Public License, version 2, 1991.
       
   695 *******************************************
       
   696 
       
   697 
       
   698  $MawkId: dosexec.c,v 1.3 2010/02/21 16:01:36 tom Exp $
       
   699 
       
   700  @Log: dosexec.c,v @
       
   701  Revision 1.3  1995/08/20  16:37:22  mike
       
   702  exit(1) -> exit(2)
       
   703 
       
   704  Revision 1.2  1994/10/08  18:50:03  mike
       
   705  remove SM_DOS
       
   706 
       
   707  Revision 1.1.1.1  1993/07/03  18:58:47  mike
       
   708  move source to cvs
       
   709 
       
   710  Revision 1.4  1992/12/05  22:29:43  mike
       
   711  dos patch 112d:
       
   712  don't use string_buff
       
   713  check COMSPEC
       
   714 
       
   715  Revision 1.3  1992/07/10  16:21:57  brennan
       
   716  store exit code of input pipes
       
   717 
       
   718  Revision 1.2  1991/11/16  10:27:18  brennan
       
   719  BINMODE
       
   720 
       
   721  Revision 1.1  91/10/29  09:45:56  brennan
       
   722  Initial revision
       
   723  
       
   724 
       
   725  system() and pipes() for MSDOS and Win32 console 
       
   726 
       
   727 
       
   728 --------------------------------------------------------------------
       
   729 
       
   730 mawk-1.3.4-20100625/execute.c:
       
   731 *******************************************
       
   732 execute.c
       
   733 copyright 1991-1996, Michael D. Brennan
       
   734 
       
   735 This is a source file for mawk, an implementation of
       
   736 the AWK programming language.
       
   737 
       
   738 Mawk is distributed without warranty under the terms of
       
   739 the GNU General Public License, version 2, 1991.
       
   740 *******************************************
       
   741 
       
   742 
       
   743  $MawkId: execute.c,v 1.16 2010/05/07 22:03:19 tom Exp $
       
   744  @Log: execute.c,v @
       
   745  Revision 1.13  1996/02/01  04:39:40  mike
       
   746  dynamic array scheme
       
   747 
       
   748  Revision 1.12  1995/06/06  00:18:24  mike
       
   749  change mawk_exit(1) to mawk_exit(2)
       
   750 
       
   751  Revision 1.11  1995/03/08  00:06:24  mike
       
   752  add a pointer cast
       
   753 
       
   754  Revision 1.10  1994/12/13  00:12:10  mike
       
   755  delete A statement to delete all of A at once
       
   756 
       
   757  Revision 1.9  1994/10/25  23:36:11  mike
       
   758  clear aloop stack on _NEXT
       
   759 
       
   760  Revision 1.8  1994/10/08  19:15:35  mike
       
   761  remove SM_DOS
       
   762 
       
   763  Revision 1.7  1993/12/30  19:10:03  mike
       
   764  minor cleanup to _CALL
       
   765 
       
   766  Revision 1.6  1993/12/01  14:25:13  mike
       
   767  reentrant array loops
       
   768 
       
   769  Revision 1.5  1993/07/22  00:04:08  mike
       
   770  new op code _LJZ _LJNZ
       
   771 
       
   772  Revision 1.4  1993/07/14  12:18:21  mike
       
   773  run thru indent
       
   774 
       
   775  Revision 1.3	 1993/07/14  11:50:17  mike
       
   776  rm SIZE_T and void casts
       
   777 
       
   778  Revision 1.2	 1993/07/04  12:51:49  mike
       
   779  start on autoconfig changes
       
   780 
       
   781  Revision 5.10  1993/02/13  21:57:22	mike
       
   782  merge patch3
       
   783 
       
   784  Revision 5.9	 1993/01/07  02:50:33  mike
       
   785  relative vs absolute code
       
   786 
       
   787  Revision 5.8	 1993/01/01  21:30:48  mike
       
   788  split new_STRING() into new_STRING and new_STRING0
       
   789 
       
   790  Revision 5.7.1.1  1993/01/15	 03:33:39  mike
       
   791  patch3: safer double to int conversion
       
   792 
       
   793  Revision 5.7	 1992/12/17  02:48:01  mike
       
   794  1.1.2d changes for DOS
       
   795 
       
   796  Revision 5.6	 1992/11/29  18:57:50  mike
       
   797  field expressions convert to long so 16 bit and 32 bit
       
   798  systems behave the same
       
   799 
       
   800  Revision 5.5	 1992/08/11  15:24:55  brennan
       
   801  patch2: F_PUSHA and FE_PUSHA
       
   802  If this is preparation for g?sub(r,s,$expr) or (++|--) on $expr,
       
   803  then if expr > NF, make sure $expr is set to ""
       
   804 
       
   805  Revision 5.4	 1992/08/11  14:51:54  brennan
       
   806  patch2:  $expr++ is numeric even if $expr is string.
       
   807  I forgot to do this earlier when handling x++ case.
       
   808 
       
   809  Revision 5.3	 1992/07/08  17:03:30  brennan
       
   810  patch 2
       
   811  revert to version 1.0 comparisons, i.e.
       
   812  page 44-45 of AWK book
       
   813 
       
   814  Revision 5.2	 1992/04/20  21:40:40  brennan
       
   815  patch 2
       
   816  x++ is numeric, even if x is string
       
   817 
       
   818  Revision 5.1	 1991/12/05  07:55:50  brennan
       
   819  1.1 pre-release
       
   820 
       
   821 
       
   822 
       
   823 
       
   824 --------------------------------------------------------------------
       
   825 
       
   826 mawk-1.3.4-20100625/cast.c:
       
   827 *******************************************
       
   828 cast.c
       
   829 copyright 1991, Michael D. Brennan
       
   830 
       
   831 This is a source file for mawk, an implementation of
       
   832 the AWK programming language.
       
   833 
       
   834 Mawk is distributed without warranty under the terms of
       
   835 the GNU General Public License, version 2, 1991.
       
   836 *******************************************
       
   837 
       
   838 
       
   839  $MawkId: cast.c,v 1.10 2010/05/07 00:57:28 tom Exp $
       
   840  @Log: cast.c,v @
       
   841  Revision 1.6  1996/08/11 22:07:50  mike
       
   842  Fix small bozo in rt_error("overflow converting ...")
       
   843 
       
   844  Revision 1.5  1995/06/18  19:17:45  mike
       
   845  Create a type Int which on most machines is an int, but on machines
       
   846  with 16bit ints, i.e., the PC is a long.  This fixes implicit assumption
       
   847  that int==long.
       
   848 
       
   849  Revision 1.4  1995/06/06  00:02:02  mike
       
   850  fix cast in d_to_l()
       
   851 
       
   852  Revision 1.3  1993/07/17  13:22:45  mike
       
   853  indent and general code cleanup
       
   854 
       
   855  Revision 1.2	 1993/07/04  12:51:41  mike
       
   856  start on autoconfig changes
       
   857 
       
   858  Revision 5.5	 1993/03/06  18:49:45  mike
       
   859  rm rt_overflow from check_strnum
       
   860 
       
   861  Revision 5.4	 1993/02/13  21:57:20  mike
       
   862  merge patch3
       
   863 
       
   864  Revision 5.3.1.4  1993/01/22	 15:05:19  mike
       
   865  pow2->mpow2 for linux
       
   866 
       
   867  Revision 5.3.1.3  1993/01/22	 14:18:33  mike
       
   868  const for strtod and ansi picky compilers
       
   869 
       
   870  Revision 5.3.1.2  1993/01/20	 12:53:06  mike
       
   871  d_to_l()
       
   872 
       
   873  Revision 5.3.1.1  1993/01/15	 03:33:37  mike
       
   874  patch3: safer double to int conversion
       
   875 
       
   876  Revision 5.3	 1992/11/28  23:48:42  mike
       
   877  For internal conversion numeric->string, when testing
       
   878  if integer, use longs instead of ints so 16 and 32 bit
       
   879  systems behave the same
       
   880 
       
   881  Revision 5.2	 1992/08/17  14:19:45  brennan
       
   882  patch2: After parsing, only bi_sprintf() uses string_buff.
       
   883 
       
   884  Revision 5.1	 1991/12/05  07:55:41  brennan
       
   885  1.1 pre-release
       
   886 
       
   887 
       
   888 
       
   889   cast.c  
       
   890 
       
   891 
       
   892 --------------------------------------------------------------------
       
   893 
       
   894 mawk-1.3.4-20100625/kw.c:
       
   895 *******************************************
       
   896 kw.c
       
   897 copyright 1991, Michael D. Brennan
       
   898 
       
   899 This is a source file for mawk, an implementation of
       
   900 the AWK programming language.
       
   901 
       
   902 Mawk is distributed without warranty under the terms of
       
   903 the GNU General Public License, version 2, 1991.
       
   904 *******************************************
       
   905 
       
   906 
       
   907  $MawkId: kw.c,v 1.4 2009/07/27 15:33:28 tom Exp $
       
   908  @Log: kw.c,v @
       
   909  Revision 1.2  1993/07/17  13:22:59  mike
       
   910  indent and general code cleanup
       
   911 
       
   912  Revision 1.1.1.1  1993/07/03	 18:58:15  mike
       
   913  move source to cvs
       
   914 
       
   915  Revision 5.1	 1991/12/05  07:56:12  brennan
       
   916  1.1 pre-release
       
   917 
       
   918 
       
   919 
       
   920  kw.c 
       
   921 
       
   922 
       
   923 --------------------------------------------------------------------
       
   924 
       
   925 mawk-1.3.4-20100625/jmp.c:
       
   926 *******************************************
       
   927 jmp.c
       
   928 copyright 1991, Michael D. Brennan
       
   929 
       
   930 This is a source file for mawk, an implementation of
       
   931 the AWK programming language.
       
   932 
       
   933 Mawk is distributed without warranty under the terms of
       
   934 the GNU General Public License, version 2, 1991.
       
   935 *******************************************
       
   936 
       
   937 
       
   938  $MawkId: jmp.c,v 1.5 2010/05/07 10:59:46 tom Exp $
       
   939  @Log: jmp.c,v @
       
   940  Revision 1.4  1995/06/18  19:42:19  mike
       
   941  Remove some redundant declarations and add some prototypes
       
   942 
       
   943  Revision 1.3  1995/04/21  14:20:16  mike
       
   944  move_level variable to fix bug in arglist patching of moved code.
       
   945 
       
   946  Revision 1.2  1993/07/14  13:17:49  mike
       
   947  rm SIZE_T and run thru indent
       
   948 
       
   949  Revision 1.1.1.1  1993/07/03	 18:58:15  mike
       
   950  move source to cvs
       
   951 
       
   952  Revision 5.3	 1993/01/09  19:03:44  mike
       
   953  code_pop checks if the resolve_list needs relocation
       
   954 
       
   955  Revision 5.2	 1993/01/07  02:50:33  mike
       
   956  relative vs absolute code
       
   957 
       
   958  Revision 5.1	 1991/12/05  07:56:10  brennan
       
   959  1.1 pre-release
       
   960  
       
   961 
       
   962  this module deals with back patching jumps, breaks and continues,
       
   963    and with save and restoring code when we move code.
       
   964    There are three stacks.  If we encounter a compile error, the
       
   965    stacks are frozen, i.e., we do not attempt error recovery
       
   966    on the stacks
       
   967 
       
   968 
       
   969 
       
   970 --------------------------------------------------------------------
       
   971 
       
   972 mawk-1.3.4-20100625/symtype.h:
       
   973 *******************************************
       
   974 symtype.h
       
   975 copyright 1991, Michael D. Brennan
       
   976 
       
   977 This is a source file for mawk, an implementation of
       
   978 the AWK programming language.
       
   979 
       
   980 Mawk is distributed without warranty under the terms of
       
   981 the GNU General Public License, version 2, 1991.
       
   982 *******************************************
       
   983 
       
   984 
       
   985  $MawkId: symtype.h,v 1.7 2010/05/07 08:18:41 tom Exp $
       
   986  @Log: symtype.h,v @
       
   987  Revision 1.6  1996/02/01  04:39:43  mike
       
   988  dynamic array scheme
       
   989 
       
   990  Revision 1.5  1995/04/21  14:20:23  mike
       
   991  move_level variable to fix bug in arglist patching of moved code.
       
   992 
       
   993  Revision 1.4  1994/12/13  00:13:02  mike
       
   994  delete A statement to delete all of A at once
       
   995 
       
   996  Revision 1.3  1993/12/01  14:25:25  mike
       
   997  reentrant array loops
       
   998 
       
   999  Revision 1.2  1993/07/15  01:55:08  mike
       
  1000  rm SIZE_T & indent
       
  1001 
       
  1002  Revision 1.1.1.1  1993/07/03  18:58:21  mike
       
  1003  move source to cvs
       
  1004 
       
  1005  Revision 5.5  1993/01/09  19:03:44  mike
       
  1006  code_pop checks if the resolve_list needs relocation
       
  1007 
       
  1008  Revision 5.4  1993/01/07  02:50:33  mike
       
  1009  relative vs absolute code
       
  1010 
       
  1011  Revision 5.3  1992/12/17  02:48:01  mike
       
  1012  1.1.2d changes for DOS
       
  1013 
       
  1014  Revision 5.2  1992/07/08  15:44:44  brennan
       
  1015  patch2: length returns.  I am a wimp
       
  1016 
       
  1017  Revision 5.1  1991/12/05  07:59:37  brennan
       
  1018  1.1 pre-release
       
  1019 
       
  1020 
       
  1021 
       
  1022  types related to symbols are defined here 
       
  1023 
       
  1024 
       
  1025 --------------------------------------------------------------------
       
  1026 
       
  1027 mawk-1.3.4-20100625/split.c:
       
  1028 *******************************************
       
  1029 split.c
       
  1030 copyright 1991, Michael D. Brennan
       
  1031 
       
  1032 This is a source file for mawk, an implementation of
       
  1033 the AWK programming language.
       
  1034 
       
  1035 Mawk is distributed without warranty under the terms of
       
  1036 the GNU General Public License, version 2, 1991.
       
  1037 *******************************************
       
  1038 
       
  1039 
       
  1040  $MawkId: split.c,v 1.20 2010/06/25 21:54:15 tom Exp $
       
  1041  @Log: split.c,v @
       
  1042  Revision 1.3  1996/02/01  04:39:42  mike
       
  1043  dynamic array scheme
       
  1044 
       
  1045  Revision 1.2  1993/07/15  01:55:03  mike
       
  1046  rm SIZE_T & indent
       
  1047 
       
  1048  Revision 1.1.1.1  1993/07/03	 18:58:21  mike
       
  1049  move source to cvs
       
  1050 
       
  1051  Revision 5.4	 1993/05/08  18:06:00  mike
       
  1052  null_split
       
  1053 
       
  1054  Revision 5.3	 1993/01/01  21:30:48  mike
       
  1055  split new_STRING() into new_STRING and new_STRING0
       
  1056 
       
  1057  Revision 5.2	 1992/07/08  21:19:09  brennan
       
  1058  patch2
       
  1059  change in split() requires that
       
  1060  bi_split() call load_array() even
       
  1061  when cnt is 0.
       
  1062 
       
  1063  Revision 5.1	 1991/12/05  07:56:31  brennan
       
  1064  1.1 pre-release
       
  1065 
       
  1066 
       
  1067 
       
  1068  split.c 
       
  1069 
       
  1070  For all splitting up to MAX_SPLIT fields go into
       
  1071    split_buff[], the rest go onto split_ov_list ( split
       
  1072    overflow list)
       
  1073 
       
  1074    We can split one of three ways:
       
  1075      (1) By space:
       
  1076 	 space_split() and space_ov_split()
       
  1077      (2) By regular expression:
       
  1078 	 re_split()    and re_ov_split()
       
  1079      (3) By "" (null -- split into characters)
       
  1080 	 null_split() and null_ov_split()
       
  1081 
       
  1082 
       
  1083 
       
  1084 --------------------------------------------------------------------
       
  1085 
       
  1086 mawk-1.3.4-20100625/makescan.c:
       
  1087 *******************************************
       
  1088 makescan.c
       
  1089 copyright 1991, Michael D. Brennan
       
  1090 
       
  1091 This is a source file for mawk, an implementation of
       
  1092 the AWK programming language.
       
  1093 
       
  1094 Mawk is distributed without warranty under the terms of
       
  1095 the GNU General Public License, version 2, 1991.
       
  1096 *******************************************
       
  1097 
       
  1098 
       
  1099  $MawkId: makescan.c,v 1.9 2010/01/31 20:48:36 tom Exp $
       
  1100  @Log: makescan.c,v @
       
  1101  Revision 1.3  1993/07/17  13:23:01  mike
       
  1102  indent and general code cleanup
       
  1103 
       
  1104  Revision 1.2	 1993/07/15  13:26:59  mike
       
  1105  SIZE_T and indent
       
  1106 
       
  1107  Revision 1.1.1.1  1993/07/03	 18:58:16  mike
       
  1108  move source to cvs
       
  1109 
       
  1110  Revision 5.1	 1991/12/05  07:56:16  brennan
       
  1111  1.1 pre-release
       
  1112 
       
  1113 
       
  1114 
       
  1115  source for makescan.exe which builds the scancode[]
       
  1116    via:	  makescan.exe > scancode.c
       
  1117 
       
  1118 
       
  1119 
       
  1120 --------------------------------------------------------------------
       
  1121 
       
  1122 mawk-1.3.4-20100625/hash.c:
       
  1123 *******************************************
       
  1124 hash.c
       
  1125 copyright 1991, Michael D. Brennan
       
  1126 
       
  1127 This is a source file for mawk, an implementation of
       
  1128 the AWK programming language.
       
  1129 
       
  1130 Mawk is distributed without warranty under the terms of
       
  1131 the GNU General Public License, version 2, 1991.
       
  1132 *******************************************
       
  1133 
       
  1134 
       
  1135  $MawkId: hash.c,v 1.7 2010/05/07 08:18:31 tom Exp $
       
  1136  @Log: hash.c,v @
       
  1137  Revision 1.3  1994/10/08  19:15:43  mike
       
  1138  remove SM_DOS
       
  1139 
       
  1140  Revision 1.2  1993/07/16  00:17:35  mike
       
  1141  cleanup
       
  1142 
       
  1143  Revision 1.1.1.1  1993/07/03	 18:58:14  mike
       
  1144  move source to cvs
       
  1145 
       
  1146  Revision 5.1	 1991/12/05  07:56:05  brennan
       
  1147  1.1 pre-release
       
  1148 
       
  1149  
       
  1150 
       
  1151  hash.c 
       
  1152 
       
  1153 
       
  1154 --------------------------------------------------------------------
       
  1155 
       
  1156 mawk-1.3.4-20100625/field.c:
       
  1157 *******************************************
       
  1158 field.c
       
  1159 copyright 1991, Michael D. Brennan
       
  1160 
       
  1161 This is a source file for mawk, an implementation of
       
  1162 the AWK programming language.
       
  1163 
       
  1164 Mawk is distributed without warranty under the terms of
       
  1165 the GNU General Public License, version 2, 1991.
       
  1166 *******************************************
       
  1167 
       
  1168 
       
  1169  $MawkId: field.c,v 1.13 2010/05/07 22:03:19 tom Exp $
       
  1170  @Log: field.c,v @
       
  1171  Revision 1.5  1995/06/18  19:17:47  mike
       
  1172  Create a type Int which on most machines is an int, but on machines
       
  1173  with 16bit ints, i.e., the PC is a long.  This fixes implicit assumption
       
  1174  that int==long.
       
  1175 
       
  1176  Revision 1.4  1994/10/08  19:15:38  mike
       
  1177  remove SM_DOS
       
  1178 
       
  1179  Revision 1.3  1993/07/14  12:32:39  mike
       
  1180  run thru indent
       
  1181 
       
  1182  Revision 1.2	 1993/07/14  12:22:11  mike
       
  1183  rm SIZE_T and (void) casts
       
  1184 
       
  1185  Revision 1.1.1.1  1993/07/03	 18:58:12  mike
       
  1186  move source to cvs
       
  1187 
       
  1188  Revision 5.7	 1993/05/08  18:06:00  mike
       
  1189  null_split
       
  1190 
       
  1191  Revision 5.6	 1993/02/13  21:57:25  mike
       
  1192  merge patch3
       
  1193 
       
  1194  Revision 5.5	 1993/01/01  21:30:48  mike
       
  1195  split new_STRING() into new_STRING and new_STRING0
       
  1196 
       
  1197  Revision 5.4.1.2  1993/01/20	 12:53:08  mike
       
  1198  d_to_l()
       
  1199 
       
  1200  Revision 5.4.1.1  1993/01/15	 03:33:42  mike
       
  1201  patch3: safer double to int conversion
       
  1202 
       
  1203  Revision 5.4	 1992/11/29  22:52:11  mike
       
  1204  double->string conversions uses long ints for 16/32 bit
       
  1205  compatibility.
       
  1206  Fixed small LM_DOS bozo.
       
  1207 
       
  1208  Revision 5.3	 1992/08/17  14:21:10  brennan
       
  1209  patch2: After parsing, only bi_sprintf() uses string_buff.
       
  1210 
       
  1211  Revision 5.2	 1992/07/10  16:17:10  brennan
       
  1212  MsDOS: remove NO_BINMODE macro
       
  1213 
       
  1214  Revision 5.1	 1991/12/05  07:55:57  brennan
       
  1215  1.1 pre-release
       
  1216 
       
  1217 
       
  1218 
       
  1219  field.c 
       
  1220 
       
  1221 
       
  1222 --------------------------------------------------------------------
       
  1223 
       
  1224 mawk-1.3.4-20100625/sizes.h:
       
  1225 *******************************************
       
  1226 sizes.h
       
  1227 copyright 1991, 1992.  Michael D. Brennan
       
  1228 
       
  1229 This is a source file for mawk, an implementation of
       
  1230 the AWK programming language.
       
  1231 
       
  1232 Mawk is distributed without warranty under the terms of
       
  1233 the GNU General Public License, version 2, 1991.
       
  1234 *******************************************
       
  1235 
       
  1236 
       
  1237  $MawkId: sizes.h,v 1.6 2010/02/21 22:37:21 tom Exp $
       
  1238  @Log: sizes.h,v @
       
  1239  Revision 1.8  1995/10/14  22:09:51  mike
       
  1240  getting MAX__INT from values.h didn't really work since the value was
       
  1241  unusable in an #if MAX__INT <= 0x7fff
       
  1242  at least it didn't work under sunos -- so use of values.h is a goner
       
  1243 
       
  1244  Revision 1.7  1995/06/18  19:17:51  mike
       
  1245  Create a type Int which on most machines is an int, but on machines
       
  1246  with 16bit ints, i.e., the PC is a long.  This fixes implicit assumption
       
  1247  that int==long.
       
  1248 
       
  1249  Revision 1.6  1994/10/10  01:39:01  mike
       
  1250  get MAX__INT from limits.h or values.h
       
  1251 
       
  1252  Revision 1.5  1994/10/08  19:15:53  mike
       
  1253  remove SM_DOS
       
  1254 
       
  1255  Revision 1.4  1994/09/25  23:00:49  mike
       
  1256  remove #if 0
       
  1257 
       
  1258  Revision 1.3  1993/07/15  23:56:15  mike
       
  1259  general cleanup
       
  1260 
       
  1261  Revision 1.2  1993/07/04  12:52:13  mike
       
  1262  start on autoconfig changes
       
  1263 
       
  1264  Revision 5.3  1992/12/17  02:48:01  mike
       
  1265  1.1.2d changes for DOS
       
  1266 
       
  1267  Revision 5.2  1992/08/27  03:20:08  mike
       
  1268  patch2: increase A_HASH_PRIME
       
  1269 
       
  1270  Revision 5.1  1991/12/05  07:59:35  brennan
       
  1271  1.1 pre-release
       
  1272 
       
  1273 
       
  1274 
       
  1275   sizes.h  
       
  1276 
       
  1277 
       
  1278 --------------------------------------------------------------------
       
  1279 
       
  1280 mawk-1.3.4-20100625/fcall.c:
       
  1281 *******************************************
       
  1282 fcall.c
       
  1283 copyright 1991, Michael D. Brennan
       
  1284 
       
  1285 This is a source file for mawk, an implementation of
       
  1286 the AWK programming language.
       
  1287 
       
  1288 Mawk is distributed without warranty under the terms of
       
  1289 the GNU General Public License, version 2, 1991.
       
  1290 *******************************************
       
  1291 
       
  1292 
       
  1293  $MawkId: fcall.c,v 1.7 2010/05/07 09:30:33 tom Exp $
       
  1294  @Log: fcall.c,v @
       
  1295  Revision 1.7  1995/08/27  15:46:47  mike
       
  1296  change some errmsgs to compile_errors
       
  1297 
       
  1298  Revision 1.6  1995/06/09  22:58:24  mike
       
  1299  cast to shutup solaris cc on comparison of short to ushort
       
  1300 
       
  1301  Revision 1.5  1995/06/06  00:18:26  mike
       
  1302  change mawk_exit(1) to mawk_exit(2)
       
  1303 
       
  1304  Revision 1.4  1995/04/21  14:20:14  mike
       
  1305  move_level variable to fix bug in arglist patching of moved code.
       
  1306 
       
  1307  Revision 1.3  1995/02/19  22:15:37  mike
       
  1308  Always set the call_offset field in a CA_REC (for obscure
       
  1309  reasons in fcall.c (see comments) there.)
       
  1310 
       
  1311  Revision 1.2  1993/07/17  13:22:52  mike
       
  1312  indent and general code cleanup
       
  1313 
       
  1314  Revision 1.1.1.1  1993/07/03	 18:58:11  mike
       
  1315  move source to cvs
       
  1316 
       
  1317  Revision 5.4	 1993/01/09  19:03:44  mike
       
  1318  code_pop checks if the resolve_list needs relocation
       
  1319 
       
  1320  Revision 5.3	 1993/01/07  02:50:33  mike
       
  1321  relative vs absolute code
       
  1322 
       
  1323  Revision 5.2	 1993/01/01  21:30:48  mike
       
  1324  split new_STRING() into new_STRING and new_STRING0
       
  1325 
       
  1326  Revision 5.1	 1991/12/05  07:55:54  brennan
       
  1327  1.1 pre-release
       
  1328 
       
  1329  
       
  1330 
       
  1331 
       
  1332 --------------------------------------------------------------------
       
  1333 
       
  1334 mawk-1.3.4-20100625/bi_vars.h:
       
  1335 *******************************************
       
  1336 bi_vars.h
       
  1337 copyright 1991, Michael D. Brennan
       
  1338 
       
  1339 This is a source file for mawk, an implementation of
       
  1340 the AWK programming language.
       
  1341 
       
  1342 Mawk is distributed without warranty under the terms of
       
  1343 the GNU General Public License, version 2, 1991.
       
  1344 *******************************************
       
  1345 
       
  1346 
       
  1347  $MawkId: bi_vars.h,v 1.6 2009/12/16 23:32:06 tom Exp $
       
  1348  @Log: bi_vars.h,v @
       
  1349  Revision 1.1.1.1  1993/07/03  18:58:09  mike
       
  1350  move source to cvs
       
  1351 
       
  1352  Revision 5.2  1992/07/10  16:17:10  brennan
       
  1353  MsDOS: remove NO_BINMODE macro
       
  1354 
       
  1355  Revision 5.1  1991/12/05  07:59:05  brennan
       
  1356  1.1 pre-release
       
  1357 
       
  1358  
       
  1359 
       
  1360  bi_vars.h 
       
  1361 
       
  1362 
       
  1363 --------------------------------------------------------------------
       
  1364 
       
  1365 mawk-1.3.4-20100625/zmalloc.c:
       
  1366 *******************************************
       
  1367 zmalloc.c
       
  1368 copyright 1991, Michael D. Brennan
       
  1369 
       
  1370 This is a source file for mawk, an implementation of
       
  1371 the AWK programming language.
       
  1372 
       
  1373 Mawk is distributed without warranty under the terms of
       
  1374 the GNU General Public License, version 2, 1991.
       
  1375 *******************************************
       
  1376 
       
  1377 
       
  1378  $MawkId: zmalloc.c,v 1.12 2010/05/07 22:11:34 tom Exp $
       
  1379  @Log: zmalloc.c,v @
       
  1380  Revision 1.6  1995/06/06  00:18:35  mike
       
  1381  change mawk_exit(1) to mawk_exit(2)
       
  1382 
       
  1383  Revision 1.5  1995/03/08  00:06:26  mike
       
  1384  add a pointer cast
       
  1385 
       
  1386  Revision 1.4  1993/07/14  12:45:15  mike
       
  1387  run thru indent
       
  1388 
       
  1389  Revision 1.3	 1993/07/07  00:07:54  mike
       
  1390  more work on 1.2
       
  1391 
       
  1392  Revision 1.2	 1993/07/03  21:15:35  mike
       
  1393  bye bye yacc_mem
       
  1394 
       
  1395  Revision 1.1.1.1  1993/07/03	 18:58:23  mike
       
  1396  move source to cvs
       
  1397 
       
  1398  Revision 5.4	 1993/02/13  21:57:38  mike
       
  1399  merge patch3
       
  1400 
       
  1401  Revision 5.3	 1993/01/14  13:12:33  mike
       
  1402  casts in front of malloc
       
  1403 
       
  1404  Revision 5.1.1.1  1993/02/06	 11:12:19  mike
       
  1405  fix bug in reuse of parser table memory
       
  1406  for most users ifdef the mess out
       
  1407 
       
  1408  Revision 5.1	 1991/12/05  07:56:35  brennan
       
  1409  1.1 pre-release
       
  1410 
       
  1411 
       
  1412 
       
  1413   zmalloc.c  
       
  1414 
       
  1415 --------------------------------------------------------------------
       
  1416 
       
  1417 mawk-1.3.4-20100625/msdos/vs6.h, mawk-1.3.4-20100625/msdos/msc.h:
       
  1418 *******************************************
       
  1419 msc.h
       
  1420 copyright 1994, Michael D. Brennan
       
  1421 
       
  1422 This is a source file for mawk, an implementation of
       
  1423 the AWK programming language.
       
  1424 
       
  1425 Mawk is distributed without warranty under the terms of
       
  1426 the GNU General Public License, version 2, 1991.
       
  1427 *******************************************
       
  1428 
       
  1429  Microsoft C 6.0A under MSDOS 
       
  1430 
       
  1431 
       
  1432  $MawkId: vs6.h,v 1.1 2010/02/21 16:13:36 tom Exp $
       
  1433 
       
  1434  @Log: msc.h,v @
       
  1435  Revision 1.6  1996/07/28 21:46:16  mike
       
  1436  gnuish patch
       
  1437 
       
  1438  Revision 1.5  1995/08/20  17:44:38  mike
       
  1439  minor fixes to msc and lower case makefile names
       
  1440 
       
  1441  Revision 1.4  1995/01/08  21:50:43  mike
       
  1442  remove extra #endif
       
  1443 
       
  1444  Revision 1.3  1994/10/08  19:12:05  mike
       
  1445  SET_PROGNAME
       
  1446 
       
  1447  Revision 1.2  1994/10/08  18:49:28  mike
       
  1448  add MAX__INT etc
       
  1449 
       
  1450  Revision 1.1  1994/10/08  18:24:40  mike
       
  1451  moved from config directory
       
  1452 
       
  1453  
       
  1454 
       
  1455 --------------------------------------------------------------------
       
  1456 
       
  1457 mawk-1.3.4-20100625/code.h:
       
  1458 *******************************************
       
  1459 code.h
       
  1460 copyright 1991, Michael D. Brennan
       
  1461 
       
  1462 This is a source file for mawk, an implementation of
       
  1463 the AWK programming language.
       
  1464 
       
  1465 Mawk is distributed without warranty under the terms of
       
  1466 the GNU General Public License, version 2, 1991.
       
  1467 *******************************************
       
  1468 
       
  1469 
       
  1470  $MawkId: code.h,v 1.4 2010/05/07 09:49:46 tom Exp $
       
  1471  @Log: code.h,v @
       
  1472  Revision 1.5  1995/06/18  19:42:15  mike
       
  1473  Remove some redundant declarations and add some prototypes
       
  1474 
       
  1475  Revision 1.4  1994/12/13  00:13:01  mike
       
  1476  delete A statement to delete all of A at once
       
  1477 
       
  1478  Revision 1.3  1993/12/01  14:25:06  mike
       
  1479  reentrant array loops
       
  1480 
       
  1481  Revision 1.2  1993/07/22  00:04:01  mike
       
  1482  new op code _LJZ _LJNZ
       
  1483 
       
  1484  Revision 1.1.1.1  1993/07/03  18:58:10  mike
       
  1485  move source to cvs
       
  1486 
       
  1487  Revision 5.3  1993/01/14  13:11:11  mike
       
  1488  code2() -> xcode2()
       
  1489 
       
  1490  Revision 5.2  1993/01/07  02:50:33  mike
       
  1491  relative vs absolute code
       
  1492 
       
  1493  Revision 5.1  1991/12/05  07:59:07  brennan
       
  1494  1.1 pre-release
       
  1495 
       
  1496 
       
  1497 
       
  1498   code.h  
       
  1499 
       
  1500 
       
  1501 --------------------------------------------------------------------
       
  1502 
       
  1503 mawk-1.3.4-20100625/msdos/tcc.h:
       
  1504 *******************************************
       
  1505 tcc.h
       
  1506 copyright 1994, Michael D. Brennan
       
  1507 
       
  1508 This is a source file for mawk, an implementation of
       
  1509 the AWK programming language.
       
  1510 
       
  1511 Mawk is distributed without warranty under the terms of
       
  1512 the GNU General Public License, version 2, 1991.
       
  1513 *******************************************
       
  1514 
       
  1515  Turbo C under MSDOS 
       
  1516 
       
  1517  @Log: tcc.h,v @
       
  1518  Revision 1.5  1995/08/20  17:14:13  mike
       
  1519  get size_t from <stddef.h>
       
  1520 
       
  1521  Revision 1.4  1995/01/08  21:48:00  mike
       
  1522  remove extra #endif
       
  1523 
       
  1524  Revision 1.3  1994/10/08  19:12:07  mike
       
  1525  SET_PROGNAME
       
  1526 
       
  1527  Revision 1.2  1994/10/08  18:49:29  mike
       
  1528  add MAX__INT etc
       
  1529 
       
  1530  Revision 1.1  1994/10/08  18:24:41  mike
       
  1531  moved from config directory
       
  1532 
       
  1533 
       
  1534 
       
  1535 
       
  1536 --------------------------------------------------------------------
       
  1537 
       
  1538 mawk-1.3.4-20100625/da.c:
       
  1539 *******************************************
       
  1540 da.c
       
  1541 copyright 1991, Michael D. Brennan
       
  1542 
       
  1543 This is a source file for mawk, an implementation of
       
  1544 the AWK programming language.
       
  1545 
       
  1546 Mawk is distributed without warranty under the terms of
       
  1547 the GNU General Public License, version 2, 1991.
       
  1548 *******************************************
       
  1549 
       
  1550 
       
  1551  $MawkId: da.c,v 1.8 2010/05/07 00:56:51 tom Exp $
       
  1552  @Log: da.c,v @
       
  1553  Revision 1.6  1995/06/18  19:19:59  mike
       
  1554  remove use of comma operator that broke some sysVr3 compilers
       
  1555 
       
  1556  Revision 1.5  1994/12/13  00:12:08  mike
       
  1557  delete A statement to delete all of A at once
       
  1558 
       
  1559  Revision 1.4  1994/10/08  19:15:32  mike
       
  1560  remove SM_DOS
       
  1561 
       
  1562  Revision 1.3  1993/12/01  14:25:10  mike
       
  1563  reentrant array loops
       
  1564 
       
  1565  Revision 1.2  1993/07/22  00:04:05  mike
       
  1566  new op code _LJZ _LJNZ
       
  1567 
       
  1568  Revision 1.1.1.1  1993/07/03	 18:58:10  mike
       
  1569  move source to cvs
       
  1570 
       
  1571  Revision 5.4	 1993/01/09  19:05:48  mike
       
  1572  dump code to stdout and exit(0)
       
  1573 
       
  1574  Revision 5.3	 1993/01/07  02:50:33  mike
       
  1575  relative vs absolute code
       
  1576 
       
  1577  Revision 5.2	 1992/07/25  21:35:25  brennan
       
  1578  patch2
       
  1579  fixed small typo on da of _PRE_DEC
       
  1580 
       
  1581  Revision 5.1	 1991/12/05  07:55:45  brennan
       
  1582  1.1 pre-release
       
  1583 
       
  1584  
       
  1585 
       
  1586   da.c  
       
  1587   disassemble code 
       
  1588 
       
  1589 
       
  1590 --------------------------------------------------------------------
       
  1591 
       
  1592 mawk-1.3.4-20100625/bi_funct.h:
       
  1593 *******************************************
       
  1594 bi_funct.h
       
  1595 copyright 1991, Michael D. Brennan
       
  1596 
       
  1597 This is a source file for mawk, an implementation of
       
  1598 the AWK programming language.
       
  1599 
       
  1600 Mawk is distributed without warranty under the terms of
       
  1601 the GNU General Public License, version 2, 1991.
       
  1602 *******************************************
       
  1603 
       
  1604 
       
  1605  $MawkId: bi_funct.h,v 1.2 2009/07/23 23:20:19 tom Exp $
       
  1606  @Log: bi_funct.h,v @
       
  1607  Revision 1.2  1994/12/11  22:10:15  mike
       
  1608  fflush
       
  1609 
       
  1610  Revision 1.1.1.1  1993/07/03  18:58:08  mike
       
  1611  move source to cvs
       
  1612 
       
  1613  Revision 5.1  1991/12/05  07:59:03  brennan
       
  1614  1.1 pre-release
       
  1615 
       
  1616 
       
  1617 
       
  1618 
       
  1619 --------------------------------------------------------------------
       
  1620 
       
  1621 mawk-1.3.4-20100625/code.c:
       
  1622 *******************************************
       
  1623 code.c
       
  1624 copyright 1991-93, Michael D. Brennan
       
  1625 
       
  1626 This is a source file for mawk, an implementation of
       
  1627 the AWK programming language.
       
  1628 
       
  1629 Mawk is distributed without warranty under the terms of
       
  1630 the GNU General Public License, version 2, 1991.
       
  1631 *******************************************
       
  1632 
       
  1633 
       
  1634  $MawkId: code.c,v 1.5 2010/05/07 09:47:06 tom Exp $
       
  1635  @Log: code.c,v @
       
  1636  Revision 1.6  1995/06/18  19:42:13  mike
       
  1637  Remove some redundant declarations and add some prototypes
       
  1638 
       
  1639  Revision 1.5  1995/06/09  23:21:36  mike
       
  1640  make sure there is an execution block in case user defines function,
       
  1641  but no pattern-action pairs
       
  1642 
       
  1643  Revision 1.4  1995/03/08  00:06:22  mike
       
  1644  add a pointer cast
       
  1645 
       
  1646  Revision 1.3  1994/10/08  19:15:29  mike
       
  1647  remove SM_DOS
       
  1648 
       
  1649  Revision 1.2  1993/07/07  00:07:38  mike
       
  1650  more work on 1.2
       
  1651 
       
  1652  Revision 1.1.1.1  1993/07/03	 18:58:10  mike
       
  1653  move source to cvs
       
  1654 
       
  1655  Revision 5.4	 1993/01/14  13:11:11  mike
       
  1656  code2() -> xcode2()
       
  1657 
       
  1658  Revision 5.3	 1993/01/09  20:15:35  mike
       
  1659  code_pop checks if the resolve_list needs relocation
       
  1660 
       
  1661  Revision 5.2	 1993/01/07  02:50:33  mike
       
  1662  relative vs absolute code
       
  1663 
       
  1664  Revision 5.1	 1991/12/05  07:55:43  brennan
       
  1665  1.1 pre-release
       
  1666 
       
  1667  
       
  1668 
       
  1669   code.c  
       
  1670 
       
  1671 
       
  1672 --------------------------------------------------------------------
       
  1673 
       
  1674 mawk-1.3.4-20100625/bi_funct.c:
       
  1675 *******************************************
       
  1676 bi_funct.c
       
  1677 copyright 1991, Michael D. Brennan
       
  1678 
       
  1679 This is a source file for mawk, an implementation of
       
  1680 the AWK programming language.
       
  1681 
       
  1682 Mawk is distributed without warranty under the terms of
       
  1683 the GNU General Public License, version 2, 1991.
       
  1684 *******************************************
       
  1685 
       
  1686 
       
  1687  $MawkId: bi_funct.c,v 1.25 2010/05/07 22:00:37 tom Exp $
       
  1688  @Log: bi_funct.c,v @
       
  1689  Revision 1.9  1996/01/14  17:16:11  mike
       
  1690  flush_all_output() before system()
       
  1691 
       
  1692  Revision 1.8  1995/08/27  18:13:03  mike
       
  1693  fix random number generator to work with longs larger than 32bits
       
  1694 
       
  1695  Revision 1.7  1995/06/09  22:53:30  mike
       
  1696  change a memcmp() to strncmp() to make purify happy
       
  1697 
       
  1698  Revision 1.6  1994/12/13  00:26:32  mike
       
  1699  rt_nr and rt_fnr for run-time error messages
       
  1700 
       
  1701  Revision 1.5  1994/12/11  22:14:11  mike
       
  1702  remove THINK_C #defines.  Not a political statement, just no indication
       
  1703  that anyone ever used it.
       
  1704 
       
  1705  Revision 1.4  1994/12/10  21:44:12  mike
       
  1706  fflush builtin
       
  1707 
       
  1708  Revision 1.3  1993/07/14  11:46:36  mike
       
  1709  code cleanup
       
  1710 
       
  1711  Revision 1.2	 1993/07/14  01:22:27  mike
       
  1712  rm SIZE_T
       
  1713 
       
  1714  Revision 1.1.1.1  1993/07/03	 18:58:08  mike
       
  1715  move source to cvs
       
  1716 
       
  1717  Revision 5.5	 1993/02/13  21:57:18  mike
       
  1718  merge patch3
       
  1719 
       
  1720  Revision 5.4	 1993/01/01  21:30:48  mike
       
  1721  split new_STRING() into new_STRING and new_STRING0
       
  1722 
       
  1723  Revision 5.3.1.2  1993/01/27	 01:04:06  mike
       
  1724  minor tuning to str_str()
       
  1725 
       
  1726  Revision 5.3.1.1  1993/01/15	 03:33:35  mike
       
  1727  patch3: safer double to int conversion
       
  1728 
       
  1729  Revision 5.3	 1992/12/17  02:48:01  mike
       
  1730  1.1.2d changes for DOS
       
  1731 
       
  1732  Revision 5.2	 1992/07/08  15:43:41  brennan
       
  1733  patch2: length returns.  I am a wimp
       
  1734 
       
  1735  Revision 5.1	 1991/12/05  07:55:35  brennan
       
  1736  1.1 pre-release
       
  1737  
       
  1738 
       
  1739 
       
  1740 --------------------------------------------------------------------
       
  1741 
       
  1742 mawk-1.3.4-20100625/scancode.h:
       
  1743 *******************************************
       
  1744 scancode.h
       
  1745 copyright 1991, Michael D. Brennan
       
  1746 
       
  1747 This is a source file for mawk, an implementation of
       
  1748 the AWK programming language.
       
  1749 
       
  1750 Mawk is distributed without warranty under the terms of
       
  1751 the GNU General Public License, version 2, 1991.
       
  1752 *******************************************
       
  1753 
       
  1754 
       
  1755  $MawkId: scancode.h,v 1.1 2009/12/13 19:43:23 Jonathan.Nieder Exp $
       
  1756  @Log: scancode.h,v @
       
  1757  
       
  1758 
       
  1759  scancode.h  
       
  1760 
       
  1761 
       
  1762 --------------------------------------------------------------------
       
  1763 
       
  1764 mawk-1.3.4-20100625/rexpdb.c:
       
  1765 *******************************************
       
  1766 rexpdb.c
       
  1767 copyright 1991, Michael D. Brennan
       
  1768 
       
  1769 This is a source file for mawk, an implementation of
       
  1770 the AWK programming language.
       
  1771 
       
  1772 Mawk is distributed without warranty under the terms of
       
  1773 the GNU General Public License, version 2, 1991.
       
  1774 *******************************************
       
  1775 
       
  1776 
       
  1777  $MawkId: rexpdb.c,v 1.9 2010/05/07 22:09:39 tom Exp $
       
  1778  @Log: rexpdb.c,v @
       
  1779  Revision 1.2  1993/07/23  13:21:51  mike
       
  1780  cleanup rexp code
       
  1781 
       
  1782  Revision 1.1.1.1  1993/07/03  18:58:28  mike
       
  1783  move source to cvs
       
  1784 
       
  1785  Revision 3.2  1991/08/13  09:10:09  brennan
       
  1786  VERSION .9994
       
  1787 
       
  1788  Revision 3.1  91/06/07  10:33:30  brennan
       
  1789  VERSION 0.995
       
  1790  
       
  1791 
       
  1792 
       
  1793 
       
  1794 --------------------------------------------------------------------
       
  1795 
       
  1796 mawk-1.3.4-20100625/rexp0.c:
       
  1797 *******************************************
       
  1798 rexp0.c
       
  1799 copyright 1991, Michael D. Brennan
       
  1800 
       
  1801 This is a source file for mawk, an implementation of
       
  1802 the AWK programming language.
       
  1803 
       
  1804 Mawk is distributed without warranty under the terms of
       
  1805 the GNU General Public License, version 2, 1991.
       
  1806 *******************************************
       
  1807 
       
  1808 
       
  1809  $MawkId: rexp0.c,v 1.23 2010/05/07 22:18:57 tom Exp $
       
  1810  @Log: rexp0.c,v @
       
  1811  Revision 1.5  1996/11/08 15:39:27  mike
       
  1812  While cleaning up block_on, I introduced a bug. Now fixed.
       
  1813 
       
  1814  Revision 1.4  1996/09/02 18:47:09  mike
       
  1815  Allow []...] and [^]...] to put ] in a class.
       
  1816  Make ^* and ^+ syntax errors.
       
  1817 
       
  1818  Revision 1.3  1994/12/26  16:37:52  mike
       
  1819  1.1.2 fix to do_str was incomplete -- fix it
       
  1820 
       
  1821  Revision 1.2  1993/07/23  13:21:38  mike
       
  1822  cleanup rexp code
       
  1823 
       
  1824  Revision 1.1.1.1  1993/07/03	 18:58:27  mike
       
  1825  move source to cvs
       
  1826 
       
  1827  Revision 3.8	 1992/04/21  20:22:38  brennan
       
  1828  1.1 patch2
       
  1829  [c1-c2] now works if c2 is an escaped character
       
  1830 
       
  1831  Revision 3.7	 1992/03/24  09:33:12  brennan
       
  1832  1.1 patch2
       
  1833  When backing up in do_str, check if last character was escaped
       
  1834 
       
  1835  Revision 3.6	 92/01/21  17:32:51  brennan
       
  1836  added some casts so that character classes work with signed chars
       
  1837 
       
  1838  Revision 3.5	 91/10/29  10:53:57  brennan
       
  1839  SIZE_T
       
  1840 
       
  1841  Revision 3.4	 91/08/13  09:10:05  brennan
       
  1842  VERSION .9994
       
  1843 
       
  1844  Revision 3.3	 91/07/19  07:29:24  brennan
       
  1845  backslash at end of regular expression now stands for backslash
       
  1846 
       
  1847  Revision 3.2	 91/07/19  06:58:23  brennan
       
  1848  removed small bozo in processing of escape characters
       
  1849 
       
  1850  Revision 3.1	 91/06/07  10:33:20  brennan
       
  1851  VERSION 0.995
       
  1852 
       
  1853  Revision 1.2	 91/06/05  08:59:36  brennan
       
  1854  changed RE_free to free
       
  1855 
       
  1856  Revision 1.1	 91/06/03  07:10:15  brennan
       
  1857  Initial revision
       
  1858 
       
  1859 
       
  1860 
       
  1861   lexical scanner  
       
  1862 
       
  1863 
       
  1864 --------------------------------------------------------------------
       
  1865 
       
  1866 mawk-1.3.4-20100625/init.h:
       
  1867 *******************************************
       
  1868 init.h
       
  1869 copyright 1991, Michael D. Brennan
       
  1870 
       
  1871 This is a source file for mawk, an implementation of
       
  1872 the AWK programming language.
       
  1873 
       
  1874 Mawk is distributed without warranty under the terms of
       
  1875 the GNU General Public License, version 2, 1991.
       
  1876 *******************************************
       
  1877 
       
  1878 
       
  1879  $MawkId: init.h,v 1.3 2009/07/23 23:56:08 tom Exp $
       
  1880  @Log: init.h,v @
       
  1881  Revision 1.2  1995/06/18  19:42:18  mike
       
  1882  Remove some redundant declarations and add some prototypes
       
  1883 
       
  1884  Revision 1.1.1.1  1993/07/03  18:58:14  mike
       
  1885  move source to cvs
       
  1886 
       
  1887  Revision 5.1  1991/12/05  07:59:22  brennan
       
  1888  1.1 pre-release
       
  1889 
       
  1890  
       
  1891 
       
  1892  init.h  
       
  1893 
       
  1894 
       
  1895 --------------------------------------------------------------------
       
  1896 
       
  1897 mawk-1.3.4-20100625/init.c:
       
  1898 *******************************************
       
  1899 init.c
       
  1900 copyright 1991, Michael D. Brennan
       
  1901 
       
  1902 This is a source file for mawk, an implementation of
       
  1903 the AWK programming language.
       
  1904 
       
  1905 Mawk is distributed without warranty under the terms of
       
  1906 the GNU General Public License, version 2, 1991.
       
  1907 *******************************************
       
  1908 
       
  1909 
       
  1910  $MawkId: init.c,v 1.23 2010/05/07 21:58:49 tom Exp $
       
  1911  @Log: init.c,v @
       
  1912  Revision 1.11  1995/08/20  17:35:21  mike
       
  1913  include <stdlib.h> for MSC, needed for environ decl
       
  1914 
       
  1915  Revision 1.10  1995/06/09  22:51:50  mike
       
  1916  silently exit(0) if no program
       
  1917 
       
  1918  Revision 1.9  1995/06/06  00:18:30  mike
       
  1919  change mawk_exit(1) to mawk_exit(2)
       
  1920 
       
  1921  Revision 1.8  1994/12/14  14:40:34  mike
       
  1922  -Wi option
       
  1923 
       
  1924  Revision 1.7  1994/12/11  22:43:20  mike
       
  1925  don't assume **environ is writable
       
  1926 
       
  1927  Revision 1.6  1994/12/11  22:14:16  mike
       
  1928  remove THINK_C #defines.  Not a political statement, just no indication
       
  1929  that anyone ever used it.
       
  1930 
       
  1931  Revision 1.5  1994/10/08  19:15:45  mike
       
  1932  remove SM_DOS
       
  1933 
       
  1934  Revision 1.4  1994/03/11  02:23:49  mike
       
  1935  -We option
       
  1936 
       
  1937  Revision 1.3  1993/07/17  00:45:14  mike
       
  1938  indent
       
  1939 
       
  1940  Revision 1.2	 1993/07/04  12:52:00  mike
       
  1941  start on autoconfig changes
       
  1942 
       
  1943  Revision 5.5	 1993/01/07  02:50:33  mike
       
  1944  relative vs absolute code
       
  1945 
       
  1946  Revision 5.4	 1992/12/24  01:58:19  mike
       
  1947  1.1.2d changes for MsDOS
       
  1948 
       
  1949  Revision 5.3	 1992/07/10  16:17:10  brennan
       
  1950  MsDOS: remove NO_BINMODE macro
       
  1951 
       
  1952  Revision 5.2	 1992/01/09  08:46:14  brennan
       
  1953  small change for MSC
       
  1954 
       
  1955  Revision 5.1	 91/12/05  07:56:07  brennan
       
  1956  1.1 pre-release
       
  1957 
       
  1958 
       
  1959 
       
  1960  init.c 
       
  1961 
       
  1962 --------------------------------------------------------------------
       
  1963 
       
  1964 mawk-1.3.4-20100625/field.h:
       
  1965 *******************************************
       
  1966 field.h
       
  1967 copyright 1991, Michael D. Brennan
       
  1968 
       
  1969 This is a source file for mawk, an implementation of
       
  1970 the AWK programming language.
       
  1971 
       
  1972 Mawk is distributed without warranty under the terms of
       
  1973 the GNU General Public License, version 2, 1991.
       
  1974 *******************************************
       
  1975 
       
  1976 
       
  1977  $MawkId: field.h,v 1.8 2010/05/07 22:03:31 tom Exp $
       
  1978  @Log: field.h,v @
       
  1979  Revision 1.2  1995/06/18  19:42:16  mike
       
  1980  Remove some redundant declarations and add some prototypes
       
  1981 
       
  1982  Revision 1.1.1.1  1993/07/03  18:58:12  mike
       
  1983  move source to cvs
       
  1984 
       
  1985  Revision 5.2  1992/01/06  08:10:24  brennan
       
  1986  set_binmode() proto for MSDOS
       
  1987 
       
  1988  Revision 5.1  91/12/05  07:59:16  brennan
       
  1989  1.1 pre-release
       
  1990  
       
  1991  
       
  1992 
       
  1993  field.h 
       
  1994 
       
  1995 
       
  1996 --------------------------------------------------------------------
       
  1997 
       
  1998 mawk-1.3.4-20100625/memory.c:
       
  1999 *******************************************
       
  2000 memory.c
       
  2001 copyright 1991, 1992  Michael D. Brennan
       
  2002 
       
  2003 This is a source file for mawk, an implementation of
       
  2004 the AWK programming language.
       
  2005 
       
  2006 Mawk is distributed without warranty under the terms of
       
  2007 the GNU General Public License, version 2, 1991.
       
  2008 *******************************************
       
  2009 
       
  2010 
       
  2011  $MawkId: memory.c,v 1.6 2010/05/07 00:41:10 tom Exp $
       
  2012  @Log: memory.c,v @
       
  2013  Revision 1.2  1993/07/17  13:23:08  mike
       
  2014  indent and general code cleanup
       
  2015 
       
  2016  Revision 1.1.1.1  1993/07/03	 18:58:17  mike
       
  2017  move source to cvs
       
  2018 
       
  2019  Revision 5.2	 1993/01/01  21:30:48  mike
       
  2020  split new_STRING() into new_STRING and new_STRING0
       
  2021 
       
  2022  Revision 5.1	 1991/12/05  07:56:21  brennan
       
  2023  1.1 pre-release
       
  2024 
       
  2025  
       
  2026 
       
  2027  memory.c 
       
  2028 
       
  2029 
       
  2030 --------------------------------------------------------------------
       
  2031 
       
  2032 mawk-1.3.4-20100625/jmp.h:
       
  2033 *******************************************
       
  2034 jmp.h
       
  2035 copyright 1991, Michael D. Brennan
       
  2036 
       
  2037 This is a source file for mawk, an implementation of
       
  2038 the AWK programming language.
       
  2039 
       
  2040 Mawk is distributed without warranty under the terms of
       
  2041 the GNU General Public License, version 2, 1991.
       
  2042 *******************************************
       
  2043 
       
  2044 
       
  2045  $MawkId: jmp.h,v 1.3 2009/07/24 00:55:59 tom Exp $
       
  2046  @Log: jmp.h,v @
       
  2047  Revision 1.2  1995/04/21  14:20:19  mike
       
  2048  move_level variable to fix bug in arglist patching of moved code.
       
  2049 
       
  2050  Revision 1.1.1.1  1993/07/03  18:58:15  mike
       
  2051  move source to cvs
       
  2052 
       
  2053  Revision 5.2  1993/01/09  19:03:44  mike
       
  2054  code_pop checks if the resolve_list needs relocation
       
  2055 
       
  2056  Revision 5.1  1991/12/05  07:59:24  brennan
       
  2057  1.1 pre-release
       
  2058 
       
  2059  
       
  2060 
       
  2061 
       
  2062 --------------------------------------------------------------------
       
  2063 
       
  2064 mawk-1.3.4-20100625/rexp2.c:
       
  2065 *******************************************
       
  2066 rexp2.c
       
  2067 copyright 1991, Michael D. Brennan
       
  2068 
       
  2069 This is a source file for mawk, an implementation of
       
  2070 the AWK programming language.
       
  2071 
       
  2072 Mawk is distributed without warranty under the terms of
       
  2073 the GNU General Public License, version 2, 1991.
       
  2074 *******************************************
       
  2075 
       
  2076 
       
  2077  $MawkId: rexp2.c,v 1.18 2010/05/07 22:08:36 tom Exp $
       
  2078  @Log: rexp2.c,v @
       
  2079  Revision 1.3  1993/07/24  17:55:12  mike
       
  2080  more cleanup
       
  2081 
       
  2082  Revision 1.2	 1993/07/23  13:21:44  mike
       
  2083  cleanup rexp code
       
  2084 
       
  2085  Revision 1.1.1.1  1993/07/03	 18:58:28  mike
       
  2086  move source to cvs
       
  2087 
       
  2088  Revision 3.8	 1992/12/24  00:36:44  mike
       
  2089  fixed major bozo for LMDOS when growing stack
       
  2090  fixed potential LMDOS bozo with M_STR+U_ON+END_ON
       
  2091  fixed minor bug in M_CLASS+U_ON+END_ON
       
  2092 
       
  2093  Revision 3.7	 92/01/21  17:33:15  brennan
       
  2094  added some casts so that character classes work with signed chars
       
  2095 
       
  2096  Revision 3.6	 91/10/29  10:54:03  brennan
       
  2097  SIZE_T
       
  2098 
       
  2099  Revision 3.5	 91/08/13  09:10:15  brennan
       
  2100  VERSION .9994
       
  2101 
       
  2102  Revision 3.4	 91/08/08  07:53:34  brennan
       
  2103  work around for turboC realloc() bug
       
  2104 
       
  2105  Revision 3.4	 91/08/07  07:10:47  brennan
       
  2106  work around for TurboC realloc() bug
       
  2107 
       
  2108  Revision 3.3	 91/08/04  15:45:57  brennan
       
  2109  minor change for large model dos
       
  2110 
       
  2111  Revision 3.2	 91/06/10  16:18:14  brennan
       
  2112  changes for V7
       
  2113 
       
  2114  Revision 3.1	 91/06/07  10:33:25  brennan
       
  2115  VERSION 0.995
       
  2116 
       
  2117  Revision 1.8	 91/06/05  09:01:33  brennan
       
  2118  changes to RE_new_run_stack
       
  2119 
       
  2120  Revision 1.7	 91/05/31  10:56:02  brennan
       
  2121  stack_empty hack for DOS large model
       
  2122 
       
  2123 
       
  2124 
       
  2125   test a string against a machine   
       
  2126 
       
  2127 
       
  2128 --------------------------------------------------------------------
       
  2129 
       
  2130 mawk-1.3.4-20100625/main.c:
       
  2131 *******************************************
       
  2132 main.c
       
  2133 copyright 1991, Michael D. Brennan
       
  2134 
       
  2135 This is a source file for mawk, an implementation of
       
  2136 the AWK programming language.
       
  2137 
       
  2138 Mawk is distributed without warranty under the terms of
       
  2139 the GNU General Public License, version 2, 1991.
       
  2140 *******************************************
       
  2141 
       
  2142 
       
  2143  $MawkId: main.c,v 1.8 2009/12/14 00:23:56 tom Exp $
       
  2144  @Log: main.c,v @
       
  2145  Revision 1.4  1995/06/09  22:57:19  mike
       
  2146  parse() no longer returns on error
       
  2147 
       
  2148  Revision 1.3  1995/06/06  00:18:32  mike
       
  2149  change mawk_exit(1) to mawk_exit(2)
       
  2150 
       
  2151  Revision 1.2  1993/07/17  00:45:19  mike
       
  2152  indent
       
  2153 
       
  2154  Revision 1.1.1.1  1993/07/03	 18:58:16  mike
       
  2155  move source to cvs
       
  2156 
       
  2157  Revision 5.4	 1993/02/13  21:57:27  mike
       
  2158  merge patch3
       
  2159 
       
  2160  Revision 5.3	 1993/01/07  02:50:33  mike
       
  2161  relative vs absolute code
       
  2162 
       
  2163  Revision 5.2.1.1  1993/01/15	 03:33:44  mike
       
  2164  patch3: safer double to int conversion
       
  2165 
       
  2166  Revision 5.2	 1992/12/17  02:48:01  mike
       
  2167  1.1.2d changes for DOS
       
  2168 
       
  2169  Revision 5.1	 1991/12/05  07:56:14  brennan
       
  2170  1.1 pre-release
       
  2171 
       
  2172  
       
  2173 
       
  2174   main.c  
       
  2175 
       
  2176 
       
  2177 --------------------------------------------------------------------
       
  2178 
       
  2179 mawk-1.3.4-20100625/fin.c:
       
  2180 *******************************************
       
  2181 fin.c
       
  2182 copyright 1991, 1992.  Michael D. Brennan
       
  2183 
       
  2184 This is a source file for mawk, an implementation of
       
  2185 the AWK programming language.
       
  2186 
       
  2187 Mawk is distributed without warranty under the terms of
       
  2188 the GNU General Public License, version 2, 1991.
       
  2189 *******************************************
       
  2190 
       
  2191 
       
  2192  $MawkId: fin.c,v 1.27 2010/06/25 21:53:18 tom Exp $
       
  2193  @Log: fin.c,v @
       
  2194  Revision 1.10  1995/12/24  22:23:22  mike
       
  2195  remove errmsg() from inside FINopen
       
  2196 
       
  2197  Revision 1.9  1995/06/06  00:18:29  mike
       
  2198  change mawk_exit(1) to mawk_exit(2)
       
  2199 
       
  2200  Revision 1.8  1994/12/13  00:26:35  mike
       
  2201  rt_nr and rt_fnr for run-time error messages
       
  2202 
       
  2203  Revision 1.7  1994/12/11  23:25:05  mike
       
  2204  -Wi option
       
  2205 
       
  2206  Revision 1.6  1994/12/11  22:14:15  mike
       
  2207  remove THINK_C #defines.  Not a political statement, just no indication
       
  2208  that anyone ever used it.
       
  2209 
       
  2210  Revision 1.5  1994/10/08  19:15:42  mike
       
  2211  remove SM_DOS
       
  2212 
       
  2213  Revision 1.4  1993/07/17  13:22:55  mike
       
  2214  indent and general code cleanup
       
  2215 
       
  2216  Revision 1.3  1993/07/15  13:26:55  mike
       
  2217  SIZE_T and indent
       
  2218 
       
  2219  Revision 1.2	 1993/07/04  12:51:57  mike
       
  2220  start on autoconfig changes
       
  2221 
       
  2222  Revision 1.1.1.1  1993/07/03	 18:58:13  mike
       
  2223  move source to cvs
       
  2224 
       
  2225  Revision 5.7	 1993/01/01  21:30:48  mike
       
  2226  split new_STRING() into new_STRING and new_STRING0
       
  2227 
       
  2228  Revision 5.6	 1992/12/17  02:48:01  mike
       
  2229  1.1.2d changes for DOS
       
  2230 
       
  2231  Revision 5.5	 1992/07/28  15:11:30  brennan
       
  2232  minor change in finding eol, needed for MsDOS
       
  2233 
       
  2234  Revision 5.4	 1992/07/10  16:17:10  brennan
       
  2235  MsDOS: remove NO_BINMODE macro
       
  2236 
       
  2237  Revision 5.3	 1992/07/08  16:14:27  brennan
       
  2238  FILENAME and FNR retain last values in the
       
  2239  END block.
       
  2240 
       
  2241  Revision 5.2	 1992/02/21  13:30:08  brennan
       
  2242  fixed bug that free'd FILENAME twice if
       
  2243  command line was var=value only
       
  2244 
       
  2245  Revision 5.1	 91/12/05  07:56:02  brennan
       
  2246  1.1 pre-release
       
  2247 
       
  2248 
       
  2249 
       
  2250  fin.c 
       
  2251 
       
  2252 
       
  2253 --------------------------------------------------------------------
       
  2254 
       
  2255 mawk-1.3.4-20100625/types.h:
       
  2256 *******************************************
       
  2257 types.h
       
  2258 copyright 1991, Michael D. Brennan
       
  2259 
       
  2260 This is a source file for mawk, an implementation of
       
  2261 the AWK programming language.
       
  2262 
       
  2263 Mawk is distributed without warranty under the terms of
       
  2264 the GNU General Public License, version 2, 1991.
       
  2265 *******************************************
       
  2266 
       
  2267 
       
  2268  $MawkId: types.h,v 1.7 2010/05/07 00:52:42 tom Exp $
       
  2269  @Log: types.h,v @
       
  2270  Revision 1.3  1993/07/15  23:56:18  mike
       
  2271  general cleanup
       
  2272 
       
  2273  Revision 1.2  1993/07/04  12:52:15  mike
       
  2274  start on autoconfig changes
       
  2275 
       
  2276  Revision 5.1  1991/12/05  07:59:39  brennan
       
  2277  1.1 pre-release
       
  2278 
       
  2279  
       
  2280 
       
  2281   types.h  
       
  2282 
       
  2283 
       
  2284 --------------------------------------------------------------------
       
  2285 
       
  2286 mawk-1.3.4-20100625/files.h:
       
  2287 *******************************************
       
  2288 files.h
       
  2289 copyright 1991, Michael D. Brennan
       
  2290 
       
  2291 This is a source file for mawk, an implementation of
       
  2292 the AWK programming language.
       
  2293 
       
  2294 Mawk is distributed without warranty under the terms of
       
  2295 the GNU General Public License, version 2, 1991.
       
  2296 *******************************************
       
  2297 
       
  2298 
       
  2299  $MawkId: files.h,v 1.8 2009/12/16 23:45:58 tom Exp $
       
  2300  @Log: files.h,v @
       
  2301  Revision 1.3  1996/01/14  17:14:11  mike
       
  2302  flush_all_output()
       
  2303 
       
  2304  Revision 1.2  1994/12/11  22:14:13  mike
       
  2305  remove THINK_C #defines.  Not a political statement, just no indication
       
  2306  that anyone ever used it.
       
  2307 
       
  2308  Revision 1.1.1.1  1993/07/03  18:58:13  mike
       
  2309  move source to cvs
       
  2310 
       
  2311  Revision 5.2  1992/12/17  02:48:01  mike
       
  2312  1.1.2d changes for DOS
       
  2313 
       
  2314  Revision 5.1  1991/12/05  07:59:18  brennan
       
  2315  1.1 pre-release
       
  2316 
       
  2317 
       
  2318 
       
  2319 
       
  2320 --------------------------------------------------------------------
       
  2321 
       
  2322 mawk-1.3.4-20100625/rexp.h:
       
  2323 *******************************************
       
  2324 rexp.h
       
  2325 copyright 1991, Michael D. Brennan
       
  2326 
       
  2327 This is a source file for mawk, an implementation of
       
  2328 the AWK programming language.
       
  2329 
       
  2330 Mawk is distributed without warranty under the terms of
       
  2331 the GNU General Public License, version 2, 1991.
       
  2332 *******************************************
       
  2333 
       
  2334 
       
  2335  $MawkId: rexp.h,v 1.22 2010/05/07 22:05:59 tom Exp $
       
  2336  @Log: rexp.h,v @
       
  2337  Revision 1.2  1993/07/23  13:21:35  mike
       
  2338  cleanup rexp code
       
  2339 
       
  2340  Revision 1.1.1.1  1993/07/03  18:58:27  mike
       
  2341  move source to cvs
       
  2342 
       
  2343  Revision 3.6  1992/01/21  17:31:45  brennan
       
  2344  moved ison() macro out of rexp[23].c
       
  2345 
       
  2346  Revision 3.5  91/10/29  10:53:55  brennan
       
  2347  SIZE_T
       
  2348  
       
  2349  Revision 3.4  91/08/13  09:10:02  brennan
       
  2350  VERSION .9994
       
  2351  
       
  2352  Revision 3.3  91/06/15  09:40:25  brennan
       
  2353  gcc defines __STDC__ but might not have stdlib.h
       
  2354  
       
  2355  Revision 3.2  91/06/10  16:18:19  brennan
       
  2356  changes for V7
       
  2357  
       
  2358  Revision 3.1  91/06/07  10:33:18  brennan
       
  2359  VERSION 0.995
       
  2360  
       
  2361  Revision 1.3  91/06/05  08:57:57  brennan
       
  2362  removed RE_xmalloc()
       
  2363  
       
  2364  Revision 1.2  91/06/03  07:23:26  brennan
       
  2365  changed type of RE_error_trap
       
  2366  
       
  2367  Revision 1.1  91/06/03  07:05:41  brennan
       
  2368  Initial revision
       
  2369  
       
  2370  
       
  2371 
       
  2372 
       
  2373 --------------------------------------------------------------------
       
  2374 
       
  2375 mawk-1.3.4-20100625/zmalloc.h:
       
  2376 *******************************************
       
  2377 zmalloc.h
       
  2378 copyright 1991, Michael D. Brennan
       
  2379 
       
  2380 This is a source file for mawk, an implementation of
       
  2381 the AWK programming language.
       
  2382 
       
  2383 Mawk is distributed without warranty under the terms of
       
  2384 the GNU General Public License, version 2, 1991.
       
  2385 *******************************************
       
  2386 
       
  2387 
       
  2388  $MawkId: zmalloc.h,v 1.4 2010/05/07 00:39:08 tom Exp $
       
  2389  @Log: zmalloc.h,v @
       
  2390  Revision 1.2  1993/07/04  12:52:22  mike
       
  2391  start on autoconfig changes
       
  2392 
       
  2393  Revision 1.1.1.1  1993/07/03  18:58:23  mike
       
  2394  move source to cvs
       
  2395 
       
  2396  Revision 5.1  1991/12/05  07:59:41  brennan
       
  2397  1.1 pre-release
       
  2398 
       
  2399  
       
  2400 
       
  2401  zmalloc.h 
       
  2402 
       
  2403 
       
  2404 --------------------------------------------------------------------
       
  2405 
       
  2406 mawk-1.3.4-20100625/error.c:
       
  2407 *******************************************
       
  2408 error.c
       
  2409 copyright 1991, 1992 Michael D. Brennan
       
  2410 
       
  2411 This is a source file for mawk, an implementation of
       
  2412 the AWK programming language.
       
  2413 
       
  2414 Mawk is distributed without warranty under the terms of
       
  2415 the GNU General Public License, version 2, 1991.
       
  2416 *******************************************
       
  2417 
       
  2418 
       
  2419  $MawkId: error.c,v 1.11 2009/12/17 00:05:10 tom Exp $
       
  2420  @Log: error.c,v @
       
  2421  Revision 1.6  1995/06/06  00:18:22  mike
       
  2422  change mawk_exit(1) to mawk_exit(2)
       
  2423 
       
  2424  Revision 1.5  1994/12/13  00:26:33  mike
       
  2425  rt_nr and rt_fnr for run-time error messages
       
  2426 
       
  2427  Revision 1.4  1994/09/23  00:20:00  mike
       
  2428  minor bug fix: handle \ in eat_nl()
       
  2429 
       
  2430  Revision 1.3  1993/07/17  13:22:49  mike
       
  2431  indent and general code cleanup
       
  2432 
       
  2433  Revision 1.2  1993/07/04  12:51:44  mike
       
  2434  start on autoconfig changes
       
  2435 
       
  2436  Revision 1.1.1.1  1993/07/03  18:58:11  mike
       
  2437  move source to cvs
       
  2438 
       
  2439  Revision 5.3  1993/01/22  14:55:46  mike
       
  2440  trivial change for unexpected_char()
       
  2441 
       
  2442  Revision 5.2  1992/10/02  23:26:04  mike
       
  2443  using vargs.h
       
  2444 
       
  2445  Revision 5.1  1991/12/05  07:55:48  brennan
       
  2446  1.1 pre-release
       
  2447 
       
  2448 
       
  2449 
       
  2450 
       
  2451 --------------------------------------------------------------------
       
  2452 
       
  2453 mawk-1.3.4-20100625/bi_vars.c:
       
  2454 *******************************************
       
  2455 bi_vars.c
       
  2456 copyright 1991, Michael D. Brennan
       
  2457 
       
  2458 This is a source file for mawk, an implementation of
       
  2459 the AWK programming language.
       
  2460 
       
  2461 Mawk is distributed without warranty under the terms of
       
  2462 the GNU General Public License, version 2, 1991.
       
  2463 *******************************************
       
  2464 
       
  2465 
       
  2466  $MawkId: bi_vars.c,v 1.7 2009/12/16 23:38:14 tom Exp $
       
  2467  @Log: bi_vars.c,v @
       
  2468  Revision 1.1.1.1  1993/07/03  18:58:09  mike
       
  2469  move source to cvs
       
  2470 
       
  2471  Revision 5.2  1992/07/10  16:17:10  brennan
       
  2472  MsDOS: remove NO_BINMODE macro
       
  2473 
       
  2474  Revision 5.1  1991/12/05  07:55:38  brennan
       
  2475  1.1 pre-release
       
  2476 
       
  2477  
       
  2478 
       
  2479  bi_vars.c 
       
  2480 
       
  2481 
       
  2482 --------------------------------------------------------------------
       
  2483 
       
  2484 mawk-1.3.4-20100625/array.h, mawk-1.3.4-20100625/array.c:
       
  2485 array.h
       
  2486 
       
  2487 array.c
       
  2488 
       
  2489 @MawkId: array.w,v 1.14 2010/06/25 22:31:42 tom Exp @
       
  2490 
       
  2491 copyright 1991-96, Michael D. Brennan
       
  2492 
       
  2493 This is a source file for mawk, an implementation of
       
  2494 the AWK programming language.
       
  2495 
       
  2496 Mawk is distributed without warranty under the terms of
       
  2497 the GNU General Public License, version 2, 1991.
       
  2498 
       
  2499 
       
  2500 
       
  2501 This file was generated with the command
       
  2502 
       
  2503    notangle -R'"array.h"' array.w > array.h
       
  2504 
       
  2505    notangle -R'"array.c"' array.w > array.c
       
  2506 
       
  2507 Notangle is part of Norman Ramsey's noweb literate programming package
       
  2508 available from CTAN(ftp.shsu.edu).
       
  2509 
       
  2510 It's easiest to read or modify this file by working with array.w.
       
  2511 
       
  2512 --------------------------------------------------------------------
       
  2513 
       
  2514 mawk-1.3.4-20100625/version.c:
       
  2515 *******************************************
       
  2516 version.c
       
  2517 copyright 1991-95.  Michael D. Brennan
       
  2518 
       
  2519 This is a source file for mawk, an implementation of
       
  2520 the AWK programming language.
       
  2521 
       
  2522 Mawk is distributed without warranty under the terms of
       
  2523 the GNU General Public License, version 2, 1991.
       
  2524 *******************************************
       
  2525 
       
  2526 
       
  2527  $MawkId: version.c,v 1.9 2010/06/21 21:44:34 tom Exp $
       
  2528 
       
  2529  @Log: version.c,v @
       
  2530  Revision 1.10  1996/07/28 21:47:07  mike
       
  2531  gnuish patch
       
  2532 
       
  2533  Revision 1.9  1996/02/01  04:44:15  mike
       
  2534  roll a beta version
       
  2535 
       
  2536  Revision 1.8  1995/08/20  17:40:45  mike
       
  2537  changed _stackavail to stackavail for MSC
       
  2538 
       
  2539  Revision 1.7  1995/06/10  17:04:10  mike
       
  2540  "largest field" replaced by "max NF"
       
  2541 
       
  2542  
       
  2543 
       
  2544 
       
  2545 --------------------------------------------------------------------
       
  2546