See ChangeLog entry 19990510-21:45 EDT David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
1999-05-11 02:48:46 +00:00
parent da95a8a38b
commit 6dec949a97
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,12 @@
19990510-21:45 EDT David G. Holm <dholm@jsd-llc.com>
* source/harbour.y
- Put back a C++ lvalue fix that appears to have gotten lost
during a diff merge:
Parameter in call to yy_switch_to_buffer with embedded
assignment needs () around the entire expression in order
to have the (YY_BUFFER_STATE) type override apply to the
result of the assignment.
Mon May 10 19:32:34 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl>
* makefile.b32:

View File

@@ -1508,7 +1508,7 @@ int Include( char * szFileName )
files.pLast = pFile;
}
#ifdef __cplusplus
yy_switch_to_buffer( (YY_BUFFER_STATE) pFile->pBuffer = yy_create_buffer( yyin, 8192 * 2 ) );
yy_switch_to_buffer( (YY_BUFFER_STATE) (pFile->pBuffer = yy_create_buffer( yyin, 8192 * 2 ) ) );
#else
yy_switch_to_buffer( pFile->pBuffer = yy_create_buffer( yyin, 8192 * 2 ) );
#endif