Changeset 375 for cpp/frams/vm
- Timestamp:
- 04/26/15 00:59:09 (10 years ago)
- Location:
- cpp/frams/vm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/vm/classes/collectionobj.cpp
r372 r375 5 5 #include "collectionobj.h" 6 6 #include <common/nonstd_math.h> //sqrt in borland 7 #include <frams/ mhandlers/stderrors.h>7 #include <frams/util/validitychecks.h> 8 8 #include <common/nonstd_stl.h> 9 9 #include <frams/util/sstringutils.h> … … 232 232 { 233 233 ret=false; 234 Hprintf("VectorElementComparator","",HMLV_ERROR,"Comparison function returned no value");234 logPrintf("VectorElementComparator","",LOG_ERROR,"Comparison function returned no value"); 235 235 } 236 236 else -
cpp/frams/vm/framscript.y
r348 r375 5 5 %{ 6 6 #include "framscript-defs.h" 7 #include "common/ framsg.h"7 #include "common/log.h" 8 8 #include <math.h> 9 9 #include <ctype.h> … … 145 145 { 146 146 #ifdef FRAMSCRIPT_GOTO 147 trctx.out->printf("jump :%s\n",str($2)); FMprintf("FramScriptCompiler","translate",FMLV_WARN,"goto is not recommended"); trctx.emitLine();147 trctx.out->printf("jump :%s\n",str($2)); logPrintf("FramScriptCompiler","translate",LOG_WARN,"goto is not recommended"); trctx.emitLine(); 148 148 #else 149 149 trctx.err->printf("goto is not supported\n");return 1; … … 1515 1515 { 1516 1516 if (t.assign && (!t.parens)) 1517 FMprintf("FramScriptCompiler","translate",FMLV_WARN,"Assignment used as truth value, use ((double parens)) if you really mean it");1517 logPrintf("FramScriptCompiler","translate",LOG_WARN,"Assignment used as truth value, use ((double parens)) if you really mean it"); 1518 1518 } 1519 1519
Note: See TracChangeset
for help on using the changeset viewer.