OpenCores
URL https://opencores.org/ocsvn/raptor64/raptor64/trunk

Subversion Repositories raptor64

[/] [raptor64/] [trunk/] [software/] [c64/] [source/] [Preprocessor.c] - Diff between revs 37 and 51

Show entire file | Details | Blame | View Log

Rev 37 Rev 51
Line 29... Line 29...
        by Robert Finch
        by Robert Finch
        robfinch@opencores.org
        robfinch@opencores.org
*******************************************************/
*******************************************************/
 
 
FILE            *inclfile[10];
FILE            *inclfile[10];
int             incldepth = 0;
//int             incldepth = 0;
int             inclline[10];
int             inclline[10];
char            *lptr;
char            *lptr;
extern char     inpline[132];
extern char     inpline[132];
int endifCount = 0;
int endifCount = 0;
int dodefine();
int dodefine();
Line 80... Line 80...
            input = inclfile[--incldepth];
            input = inclfile[--incldepth];
            error(ERR_CANTOPEN);
            error(ERR_CANTOPEN);
            rv = getline(incldepth == 0);
            rv = getline(incldepth == 0);
            }
            }
    else    {
    else    {
 
                        _splitpath(laststr,NULL,NULL,nmspace[incldepth],NULL);
            rv = getline(incldepth == 1);
            rv = getline(incldepth == 1);
            lineno = -32768;        /* dont list include files */
            lineno = -32768;        /* dont list include files */
            }
            }
    return rv;
    return rv;
}
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.