Skip to content

Commit 0b5640a

Browse files
authored
Update tixx.c
z88dk#2542, changed the warning/error messages referring to "program name" objects rather than to "variable names"
1 parent c448a50 commit 0b5640a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/appmake/tixx.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,21 +121,21 @@ void genname(const char *fname, char *name)
121121
c++;
122122
*c = toupper(*c);
123123

124-
// Warnings of bad ideas in variable names
124+
// Warnings of bad ideas in program (aka variable) names
125125
if (*c == ' ' && !has_warned_of_spaces){
126126
has_warned_of_spaces=1;
127-
fprintf(stderr, "Warning: Use of spaces in the variable name is not certain to work on all calculators!\n");
127+
fprintf(stderr, "Warning: Use of spaces in the program name is not certain to work on all calculators!\n");
128128
}
129129
if (*c >= '0' && *c <= '9' && !has_warned_of_number){
130130
has_warned_of_number=1;
131-
fprintf(stderr, "Warning: Use of numbers in the variable name is not certain to work on all calculators!\n");
131+
fprintf(stderr, "Warning: Use of numbers in the program name is not certain to work on all calculators!\n");
132132
}
133133

134134
if (!isalnum(*c))
135135
*c = 0;
136136
} while (*c != 0);
137137
if (!strlen(str))
138-
exit_log(1,"A valid variable name could not be generated!\n");
138+
exit_log(1,"A valid program name could not be generated!\n");
139139
strcpy(name, str);
140140
}
141141

0 commit comments

Comments
 (0)