From: Lauri Kasanen Date: Thu, 18 May 2017 14:14:26 +0000 (+0300) Subject: Adjustments in response to latest comments X-Git-Tag: V2.17~142^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=219b239a347fd07742e09628599f5d7e4f987253;p=cc65 Adjustments in response to latest comments --- diff --git a/src/cc65/funcdesc.h b/src/cc65/funcdesc.h index 966aff573..040f6e97c 100644 --- a/src/cc65/funcdesc.h +++ b/src/cc65/funcdesc.h @@ -67,8 +67,8 @@ struct FuncDesc { unsigned ParamCount; /* Number of parameters */ unsigned ParamSize; /* Size of the parameters */ struct SymEntry* LastParam; /* Pointer to last parameter */ - struct SymEntry* WrappedCall; /* Pointer to the WrappedCall */ - unsigned char WrappedCallData; /* The WrappedCall's user data */ + struct SymEntry* WrappedCall; /* Pointer to the WrappedCall */ + unsigned char WrappedCallData;/* The WrappedCall's user data */ }; diff --git a/src/cc65/pragma.c b/src/cc65/pragma.c index 2cd510ff8..8d5dfd8b1 100644 --- a/src/cc65/pragma.c +++ b/src/cc65/pragma.c @@ -517,7 +517,7 @@ static void WrappedCallPragma (StrBuf* B) } else { /* Segment name is invalid */ - Error ("Wrapped-call target does not exist or is not a function or array"); + Error ("Wrapped-call target does not exist or is not a function"); } diff --git a/test/val/trampoline.c b/test/val/trampoline.c index 6723df9b3..63741b590 100644 --- a/test/val/trampoline.c +++ b/test/val/trampoline.c @@ -1,5 +1,5 @@ /* - !!DESCRIPTION!! trampoline pragma + !!DESCRIPTION!! wrapped-call pragma used for trampolines !!ORIGIN!! cc65 regression tests !!LICENCE!! Public Domain !!AUTHOR!! Lauri Kasanen