Line 88... |
Line 88... |
line[sizeof (line) - 1] = 0;
|
line[sizeof (line) - 1] = 0;
|
line_num++;
|
line_num++;
|
if (strncmp (str, "INSTRUCTION (", 13) == 0) {
|
if (strncmp (str, "INSTRUCTION (", 13) == 0) {
|
char *s;
|
char *s;
|
str += 13;
|
str += 13;
|
while (isspace (*str)) str++;
|
while (isspace ((int)*str)) str++;
|
s = str;
|
s = str;
|
while (*s && *s != ')') s++;
|
while (*s && *s != ')') s++;
|
*s = 0;
|
*s = 0;
|
while (isspace(*(s - 1))) s--;
|
while (isspace((int)*(s - 1))) s--;
|
*s = 0;
|
*s = 0;
|
if (strcmp (str, func_name) == 0) {
|
if (strcmp (str, func_name) == 0) {
|
olevel = 1;
|
olevel = 1;
|
str += strlen (str) + 1;
|
str += strlen (str) + 1;
|
while (isspace (*str)) str++;
|
while (isspace ((int)*str)) str++;
|
s = str;
|
s = str;
|
while (*s && *s != '\n' && *s != '\r') s++;
|
while (*s && *s != '\n' && *s != '\r') s++;
|
*s = 0;
|
*s = 0;
|
while (isspace(*(s - 1))) s--;
|
while (isspace((int)*(s - 1))) s--;
|
*s = 0;
|
*s = 0;
|
/*shift_fprintf (level, fo, "#line %i \"%s\"\n", line_num, in_file);*/
|
/*shift_fprintf (level, fo, "#line %i \"%s\"\n", line_num, in_file);*/
|
shift_fprintf (level, fo, "%s", str);
|
shift_fprintf (level, fo, "%s", str);
|
shift_fprintf (level, fo, " /* \"%s\" */\n", func_name);
|
shift_fprintf (level, fo, " /* \"%s\" */\n", func_name);
|
do {
|
do {
|