Commit d5c8cd5d authored by Andreas Freise's avatar Andreas Freise

imporving error message

parent eb64dc92
......@@ -8967,7 +8967,7 @@ void read_put_command(const char *command_string) {
if (strcasecmp(function_name, "$x1") == 0) {
if (inter.x1.xtype == NO_FREQ) {
gerror("missing 'xaxis' instruction\n");
gerror("no 'xaxis' defined, so cannot use $x1\n");
}
num_function_names_found++;
put_command->source = inter.x1.xaxis;
......@@ -9001,7 +9001,7 @@ void read_put_command(const char *command_string) {
}
if (strcasecmp(function_name, "$mx1") == 0) {
if (inter.x1.xtype == NO_FREQ) {
gerror("missing 'xaxis' instruction\n");
gerror("no 'xaxis' defined, so cannot use $mx1\n");
}
num_function_names_found++;
put_command->source = &inter.x1.minus_xaxis;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment