home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / un / funframe.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  584 b   |  27 lines

  1. #include "icmun.h"
  2.  
  3. void fun_frame ()
  4. {
  5.     char
  6.         i,
  7.         nlocals;
  8.  
  9.     nlocals = (char) getopcode (infile);
  10.     dumpchar (nlocals);
  11.  
  12.     local_types = xrealloc(local_types, nlocals * sizeof(INT8));
  13.  
  14.     printf ("frame %s\n", hexstring ((int) nlocals, 2));
  15.     if (nlocals)
  16.     {
  17.         printf ("               ");
  18.         for (i = 0; i < nlocals; i++)
  19.         {
  20.             local_types[i] = (INT8)getopcode (infile);
  21.             printf ("%s ", hexstring (local_types[i], 2));
  22.             local_types[i] &= e_int | e_str | e_list;
  23.         }
  24.         putchar ('\n');
  25.     }
  26. }
  27.