*fixed a processing bug with the ELSE statement, thanks to yukini3 for pointing it out. *avoided warnings with some compilers. *modified output path with visual studio. *updated binaries.
This commit is contained in:
parent
de6e9b5b60
commit
ab382b9728
4
HISTORY
4
HISTORY
@ -1,3 +1,7 @@
|
|||||||
|
Jun. 10 2017
|
||||||
|
Fixed a processing bug with the ELSE statement, thanks to yukini3 for pointing it out
|
||||||
|
Avoided warnings with some compilers
|
||||||
|
|
||||||
Jun. 7 2017
|
Jun. 7 2017
|
||||||
Added an mb_get_routine_type function
|
Added an mb_get_routine_type function
|
||||||
Renamed mb_close_forked to mb_join
|
Renamed mb_close_forked to mb_join
|
||||||
|
@ -8223,6 +8223,8 @@ static void _init_routine(mb_interpreter_t* s, _routine_t* routine, char* n, mb_
|
|||||||
case MB_RT_NATIVE:
|
case MB_RT_NATIVE:
|
||||||
routine->func.native.entry = f;
|
routine->func.native.entry = f;
|
||||||
|
|
||||||
|
break;
|
||||||
|
default: /* Do nothing */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8423,6 +8425,8 @@ static void _destroy_routine(mb_interpreter_t* s, _routine_t* r) {
|
|||||||
break;
|
break;
|
||||||
case MB_RT_NATIVE: /* Do nothing */
|
case MB_RT_NATIVE: /* Do nothing */
|
||||||
break;
|
break;
|
||||||
|
default: /* Do nothing */
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
safe_free(r);
|
safe_free(r);
|
||||||
@ -14815,7 +14819,7 @@ _elseif:
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(multi_line && ast && _IS_FUNC(ast->data, _core_elseif))
|
if(multi_line && ast && (_IS_FUNC(ast->data, _core_else) || _IS_FUNC(ast->data, _core_elseif)))
|
||||||
break;
|
break;
|
||||||
result = _execute_statement(s, &ast, true);
|
result = _execute_statement(s, &ast, true);
|
||||||
if(result != MB_FUNC_OK)
|
if(result != MB_FUNC_OK)
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
<Configurations>
|
<Configurations>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="debug|Win32"
|
Name="debug|Win32"
|
||||||
OutputDirectory="output"
|
OutputDirectory="output/debug"
|
||||||
IntermediateDirectory="temp/debug"
|
IntermediateDirectory="temp/debug"
|
||||||
ConfigurationType="1"
|
ConfigurationType="1"
|
||||||
CharacterSet="1"
|
CharacterSet="1"
|
||||||
@ -63,10 +63,10 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
OutputFile="$(OutDir)\$(ProjectName)_d.exe"
|
OutputFile="$(OutDir)\$(ProjectName).exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
ProgramDatabaseFile="$(OutDir)\$(ProjectName)_d.pdb"
|
ProgramDatabaseFile="$(OutDir)\$(ProjectName).pdb"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
TargetMachine="1"
|
TargetMachine="1"
|
||||||
/>
|
/>
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user