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

Subversion Repositories raptor64

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

Show entire file | Details | Blame | View Log

Rev 37 Rev 51
Line 173... Line 173...
        isNocall = FALSE;
        isNocall = FALSE;
}
}
 
 
void ParseFunctionBody(SYM *sp)
void ParseFunctionBody(SYM *sp)
{
{
 
        char lbl[200];
 
 
        needpunc(begin);
        needpunc(begin);
    ParseAutoDeclarations();
    ParseAutoDeclarations();
        cseg();
        cseg();
        if (sp->storage_class == sc_static)
        if (sp->storage_class == sc_static)
                put_label((unsigned int) sp->value.i);
        {
 
                strcpy(lbl,GetNamespace());
 
                strcat(lbl,"_");
 
                strcat(lbl,sp->name);
 
                gen_strlab(lbl);
 
        }
 
        //      put_label((unsigned int) sp->value.i);
        else
        else
                gen_strlab(sp->name);
                gen_strlab(sp->name);
        currentFn = sp;
        currentFn = sp;
        currentFn->IsLeaf = TRUE;
        currentFn->IsLeaf = TRUE;
        currentFn->DoesThrow = FALSE;
        currentFn->DoesThrow = FALSE;

powered by: WebSVN 2.1.0

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