File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -121,21 +121,21 @@ void genname(const char *fname, char *name)
121
121
c ++ ;
122
122
* c = toupper (* c );
123
123
124
- // Warnings of bad ideas in variable names
124
+ // Warnings of bad ideas in program (aka variable) names
125
125
if (* c == ' ' && !has_warned_of_spaces ){
126
126
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" );
128
128
}
129
129
if (* c >= '0' && * c <= '9' && !has_warned_of_number ){
130
130
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" );
132
132
}
133
133
134
134
if (!isalnum (* c ))
135
135
* c = 0 ;
136
136
} while (* c != 0 );
137
137
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" );
139
139
strcpy (name , str );
140
140
}
141
141
You can’t perform that action at this time.
0 commit comments