Changeset 126
- Timestamp:
- 06/21/08 10:04:10 (5 months ago)
- Location:
- NEWT0/branches/DyneTK
- Files:
-
- 4 modified
-
platform/VisualC6/newt_lib.vcproj (modified) (3 diffs)
-
src/newt_core/NewtBC.c (modified) (1 diff)
-
src/newt_core/NewtPrint.c (modified) (1 diff)
-
src/newt_core/incs/NewtEnv.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
NEWT0/branches/DyneTK/platform/VisualC6/newt_lib.vcproj
r125 r126 44 44 InlineFunctionExpansion="1" 45 45 AdditionalIncludeDirectories="../../src,../../src/newt_core/incs,../../src/newt_core/incs/VC6,../../src/parser" 46 PreprocessorDefinitions="NDEBUG;WIN32;_LIB;HAVE_CONFIG_H "46 PreprocessorDefinitions="NDEBUG;WIN32;_LIB;HAVE_CONFIG_H;YYERROR_VERBOSE" 47 47 StringPooling="true" 48 48 RuntimeLibrary="2" … … 119 119 AdditionalIncludeDirectories="../../src,../../src/newt_core/incs,../../src/newt_core/incs/VC6,../../src/parser" 120 120 PreprocessorDefinitions="_DEBUG;WIN32;_LIB;HAVE_CONFIG_H;YYERROR_VERBOSE" 121 MinimalRebuild=" true"121 MinimalRebuild="false" 122 122 BasicRuntimeChecks="3" 123 123 RuntimeLibrary="3" … … 128 128 WarningLevel="3" 129 129 SuppressStartupBanner="true" 130 DebugInformationFormat=" 4"130 DebugInformationFormat="3" 131 131 /> 132 132 <Tool -
NEWT0/branches/DyneTK/src/newt_core/NewtBC.c
r113 r126 2555 2555 NBCGenBC_op(stree, node->op1); 2556 2556 NBCGenBC_op(stree, node->op2); 2557 NBCGenCode(node->code, 2);2557 NBCGenCode(node->code, 1); 2558 2558 break; 2559 2559 -
NEWT0/branches/DyneTK/src/newt_core/NewtPrint.c
r123 r126 715 715 uint32_t i; 716 716 717 if (NewtRefIsFunction(r) && ! NEWT_DUMPBC)717 if (NewtRefIsFunction(r)) 718 718 { 719 NIOPrintFnFrame(f, r); 720 return; 719 if (NEWT_DUMPBC==0) 720 { 721 NIOPrintFnFrame(f, r); 722 return; 723 } 724 else if (NEWT_DUMPBC==2) 725 { 726 NEWT_DUMPBC = 1; 727 NewtFprintf(f->file, "*** byte code ***\n"); 728 NVMDumpFn(f->file, r); 729 NewtFprintf(f->file, "\n"); 730 NEWT_DUMPBC = 2; 731 return; 732 } // else fall through 721 733 } 722 734 -
NEWT0/branches/DyneTK/src/newt_core/incs/NewtEnv.h
r112 r126 96 96 bool _dumpLex; ///< 字句解析ダンプフラグ 97 97 bool _dumpSyntax; ///< 構文木ダンプフラグ 98 bool_dumpBC; ///< バイトコードダンプフラグ98 int8_t _dumpBC; ///< バイトコードダンプフラグ 99 99 int32_t _indent; ///< number of tabs for indenting a printout 100 100 int32_t _indentDepth; ///< base for calculating the indent depth
