home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Moscow ML 1.31 / source code / mosml / src / tools / make-jumptbl next >
Encoding:
Text File  |  1996-07-03  |  238 b   |  5 lines  |  [TEXT/R*ch]

  1. /^  /           { printf("  &&lbl_%s\n", $1); ninstr++; }
  2. /^}/            { for (i = ninstr; i < 128; i++) { print ", &&lbl_STOP"; }
  3.                   for (i = 0; i < ninstr;   i++) { print ", &&lbl_EVENT"; }
  4.                   exit(0); }
  5.