mpictor/StepClassLibrary — Issue #94: Unuseful line in lexact.c
Author: tpaviot
Created: 2011-11-06 12:13:50+00:00
State: open

In the file lexact.c, the function SCANsave_comment is defined at line 431. gcc, with -Wall -Wextra, reports an issue at line 433 with the line "last_comment = last_comment" :
This function is defined as:

void
SCANsave_comment( void ) {
strcpy( last_comment_, yytext );
last_comment = last_comment;
}

I do think that an unsercore "_" is missing in this line. Shouldn't it be:

last_comment = last_comment_

?