[Z88dk-commits] CVS: z88dk/src/z80asm z80pass.c,1.87,1.88

Bridge to the z88dk-commits mailing list
Post Reply
pauloscustodio

[Z88dk-commits] CVS: z88dk/src/z80asm z80pass.c,1.87,1.88

Post by pauloscustodio »

Update of /cvsroot/z88dk/z88dk/src/z80asm
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv21130

Modified Files:
z80pass.c
Log Message:
TK_EOF renamed TK_END

Index: z80pass.c
===================================================================
RCS file: /cvsroot/z88dk/z88dk/src/z80asm/z80pass.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -d -r1.87 -r1.88
*** z80pass.c 18 Mar 2014 22:44:03 -0000 1.87
--- z80pass.c 29 Mar 2014 00:32:46 -0000 1.88
***************
*** 75,79 ****
src_open( filename, opts.inc_path );
tok = TK_NIL;
! while ( tok != TK_EOF )
parseline( ON ); /* before parsing it */
}
--- 75,79 ----
src_open( filename, opts.inc_path );
tok = TK_NIL;
! while ( tok != TK_END )
parseline( ON ); /* before parsing it */
}
***************
*** 121,125 ****
break;

! case TK_EOF:
case TK_NEWLINE:
break; /* empty line, get next... */
--- 121,125 ----
break;

! case TK_END:
case TK_NEWLINE:
break; /* empty line, get next... */
***************
*** 153,157 ****
{
/* expression is TRUE, interpret lines until #else or #endif */
! if ( tok != TK_EOF )
{
parseline( ON );
--- 153,157 ----
{
/* expression is TRUE, interpret lines until #else or #endif */
! if ( tok != TK_END )
{
parseline( ON );
***************
*** 169,173 ****
{
/* then ignore lines until #endif ... */
! if ( tok != TK_EOF )
{
parseline( OFF );
--- 169,173 ----
{
/* then ignore lines until #endif ... */
! if ( tok != TK_END )
{
parseline( OFF );
***************
*** 186,190 ****
{
/* expression is FALSE, ignore until #else or #endif */
! if ( tok != TK_EOF )
{
parseline( OFF );
--- 186,190 ----
{
/* expression is FALSE, ignore until #else or #endif */
! if ( tok != TK_END )
{
parseline( OFF );
***************
*** 201,205 ****
do
{
! if ( tok != TK_EOF )
{
parseline( ON );
--- 201,205 ----
do
{
! if ( tok != TK_END )
{
parseline( ON );
***************
*** 219,223 ****
{
/* don't evaluate #if expression and ignore all lines until #endif */
! if ( tok != TK_EOF )
{
parseline( OFF );
--- 219,223 ----
{
/* don't evaluate #if expression and ignore all lines until #endif */
! if ( tok != TK_END )
{
parseline( OFF );
***************
*** 637,640 ****
--- 637,643 ----
/*
* $Log$
+ * Revision 1.88 2014/03/29 00:32:46 pauloscustodio
+ * TK_EOF renamed TK_END
+ *
* Revision 1.87 2014/03/18 22:44:03 pauloscustodio
* Scanner decodes a number into tok_number.
***************
*** 654,658 ****
*
* Revision 1.83 2014/03/11 23:34:00 pauloscustodio
! * Remove check for feof(z80asmfile), add token TK_EOF to return on EOF.
* Allows decoupling of input file used in scanner from callers.
* Removed TOTALLINES.
--- 657,661 ----
*
* Revision 1.83 2014/03/11 23:34:00 pauloscustodio
! * Remove check for feof(z80asmfile), add token TK_END to return on EOF.
* Allows decoupling of input file used in scanner from callers.
* Removed TOTALLINES.


------------------------------------------------------------------------------
Post Reply