Changeset 375 for cpp/frams/vm/framscript.y
- Timestamp:
- 04/26/15 00:59:09 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.