version 1.22, 2016/05/01 10:56:03 |
version 1.23, 2016/05/01 14:57:15 |
|
|
ml->type_operator = ' '; |
ml->type_operator = ' '; |
ml->type_operand = 0; |
ml->type_operand = 0; |
|
|
if (strncmp(s, "name", (sizeof "name") - 1) == 0) { |
if (strcmp(s, "name") == 0) { |
ml->type = MAGIC_TYPE_NAME; |
ml->type = MAGIC_TYPE_NAME; |
ml->type_string = xstrdup(s); |
ml->type_string = xstrdup(s); |
goto done; |
goto done; |
} |
} |
if (strncmp(s, "use", (sizeof "use") - 1) == 0) { |
if (strcmp(s, "use") == 0) { |
ml->type = MAGIC_TYPE_USE; |
ml->type = MAGIC_TYPE_USE; |
ml->type_string = xstrdup(s); |
ml->type_string = xstrdup(s); |
goto done; |
goto done; |