From dfa1549b1dfb5371afee91e20fada7ff50d4920d Mon Sep 17 00:00:00 2001 From: jmcmullan Date: Fri, 8 Jul 2011 04:14:32 +0000 Subject: [PATCH] genmodule: Handle '.version' funclist properties For now, we will ignore them. Signed-off-by: Jason S. McMullan git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@39892 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- tools/genmodule/config.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/genmodule/config.c b/tools/genmodule/config.c index c7d218c4d1..c50cbb4f5a 100644 --- a/tools/genmodule/config.c +++ b/tools/genmodule/config.c @@ -1450,6 +1450,13 @@ static void readsectionfunctionlist(struct config *cfg) (*funclistptr)->novararg = 1; } + else if (strncmp(s, "version", 7) == 0) + { + /* TODO: Mark version number for the following + * functions, so that the automatic OpenLibrary() + * will know what version to use. + */ + } else exitfileerror(20, "Syntax error"); } -- 2.11.4.GIT