Changeset 623 in svn for branches/1.3/mkopcode_spec.awk


Ignore:
Timestamp:
2009-07-05T10:41:16+02:00 (6 years ago)
Author:
Xuefer
Message:

merged r514-r539 from trunk

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

  • branches/1.3/mkopcode_spec.awk

    r394 r623  
    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.