mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 00:32:08 +00:00
Handle static functions correctly with %v.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3308 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
626314e4cb
commit
d2c8a754db
@ -224,8 +224,8 @@ static void ParseGVarArg (StrBuf* T, unsigned Arg)
|
||||
}
|
||||
|
||||
/* Check for external linkage */
|
||||
if (Sym->Flags & (SC_EXTERN | SC_STORAGE)) {
|
||||
/* External linkage */
|
||||
if (Sym->Flags & (SC_EXTERN | SC_STORAGE | SC_FUNC)) {
|
||||
/* External linkage or a function */
|
||||
/* ### FIXME: Asm name should be generated by codegen */
|
||||
SB_AppendChar (T, '_');
|
||||
SB_AppendStr (T, Sym->Name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user