From: John Hodge Date: Fri, 27 Aug 2010 02:45:09 +0000 (+0800) Subject: SpiderScript: Slight error fix X-Git-Tag: rel0.06~35 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=e89bb46ecd13feaa786f8b156d5195835aaf459e;p=tpg%2Facess2.git SpiderScript: Slight error fix --- diff --git a/Usermode/Libraries/libspiderscript.so_src/parse.c b/Usermode/Libraries/libspiderscript.so_src/parse.c index 3e01bb14..3ac6fa84 100644 --- a/Usermode/Libraries/libspiderscript.so_src/parse.c +++ b/Usermode/Libraries/libspiderscript.so_src/parse.c @@ -110,7 +110,7 @@ tAST_Script *Parse_Buffer(tSpiderVariant *Variant, char *Buffer) // Define a function case TOK_RWD_FUNCTION: if( !Variant->bDyamicTyped ) { - fprintf(stderr, "ERROR: Attempt to create a dynamic function\n"); + fprintf(stderr, "ERROR: Dynamic functions are invalid in static mode\n"); longjmp(Parser->JmpTarget, -1); } type = SS_DATATYPE_DYNAMIC;