In generate_attribute_name(), ignore spaces. Fixes AP214E3 error.
This commit is contained in:
@@ -434,9 +434,9 @@ generate_attribute_name( Variable a, char *out )
|
||||
/* copy p to out */
|
||||
/* DAR - fixed so that '\n's removed */
|
||||
for ( j=0, q=out; p, j<BUFSIZ; p++ ) {
|
||||
/* copy p to out, 1 char at time. Skip \n's, convert
|
||||
/* copy p to out, 1 char at time. Skip \n's and spaces, convert
|
||||
/* '.' to '_', and convert to lowercase. */
|
||||
if ( *p != '\n' ) {
|
||||
if ( ( *p != '\n' ) && ( *p != ' ' ) ) {
|
||||
if ( *p == '.' ) {
|
||||
*q = '_';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user