From 219b239a347fd07742e09628599f5d7e4f987253 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Thu, 18 May 2017 17:14:26 +0300 Subject: [PATCH] Adjustments in response to latest comments --- src/cc65/funcdesc.h | 4 ++-- src/cc65/pragma.c | 2 +- test/val/trampoline.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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