Ignore:
Timestamp:
2008-02-17T17:49:46+01:00 (7 years ago)
Author:
moo
Message:

slide hits per second and hour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkopcode_spec.awk

    r393 r522  
    1515            exit 
    1616        } 
    17         printf "\tOPSPEC(%10s, %10s, %10s, %10s)\n", array[1], array[2], array[3], array[4] 
     17        comment = ""; 
     18        if (match($0, /\/\* (\d+) \*\//, comments)) { 
     19            comment = comments[1]; 
     20        } 
     21        printf "\tOPSPEC(%10s, %10s, %10s, %10s)%s\n", array[1], array[2], array[3], array[4], comment; 
    1822        next 
    1923    } 
Note: See TracChangeset for help on using the changeset viewer.