SpiderScript: Slight error fix
authorJohn Hodge <[email protected]>
Fri, 27 Aug 2010 02:45:09 +0000 (10:45 +0800)
committerJohn Hodge <[email protected]>
Fri, 27 Aug 2010 02:45:09 +0000 (10:45 +0800)
Usermode/Libraries/libspiderscript.so_src/parse.c

index 3e01bb1..3ac6fa8 100644 (file)
@@ -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;

UCC git Repository :: git.ucc.asn.au