Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compile lang modules depending of the TIC_RUNTIME_STATIC var is set
- Loading branch information
Showing
6 changed files
with
204 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,101 @@ | ||
#include <stddef.h> | ||
#include "api.h" | ||
|
||
#if defined (TIC_BUILD_WITH_LUA) | ||
extern tic_script_config LuaSyntaxConfig; | ||
#endif | ||
#if defined(TIC_RUNTIME_STATIC) | ||
|
||
// #if defined(TIC_BUILD_WITH_MRUBY) | ||
// extern tic_script_config MRubySyntaxConfig; | ||
// #endif | ||
#if defined (TIC_BUILD_WITH_LUA) | ||
extern tic_script_config LuaSyntaxConfig; | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_JS) | ||
// extern tic_script_config JsSyntaxConfig; | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_MRUBY) | ||
extern tic_script_config RubySyntaxConfig; | ||
#endif | ||
|
||
#if defined(TIC_BUILD_WITH_JS) | ||
extern tic_script_config JsSyntaxConfig; | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_MOON) | ||
// extern tic_script_config MoonSyntaxConfig; | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_MOON) | ||
extern tic_script_config MoonSyntaxConfig; | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_FENNEL) | ||
// extern tic_script_config FennelSyntaxConfig; | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_FENNEL) | ||
extern tic_script_config FennelSyntaxConfig; | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_SQUIRREL) | ||
// extern tic_script_config SquirrelSyntaxConfig; | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_SQUIRREL) | ||
extern tic_script_config SquirrelSyntaxConfig; | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_SCHEME) | ||
// extern tic_script_config SchemeSyntaxConfig; | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_SCHEME) | ||
extern tic_script_config SchemeSyntaxConfig; | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_WREN) | ||
// extern tic_script_config WrenSyntaxConfig; | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_WREN) | ||
extern tic_script_config WrenSyntaxConfig; | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_WASM) | ||
// extern tic_script_config WasmSyntaxConfig; | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_WASM) | ||
extern tic_script_config WasmSyntaxConfig; | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_JANET) | ||
// extern tic_script_config JanetSyntaxConfig; | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_JANET) | ||
extern tic_script_config JanetSyntaxConfig; | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_PYTHON) | ||
// extern tic_script_config PythonSyntaxConfig; | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_PYTHON) | ||
extern tic_script_config PythonSyntaxConfig; | ||
#endif | ||
#endif | ||
|
||
const tic_script_config* Languages[MAX_SUPPORTED_LANGS + 1] = | ||
{ | ||
|
||
#if defined(TIC_RUNTIME_STATIC) | ||
|
||
#if defined (TIC_BUILD_WITH_LUA) | ||
&LuaSyntaxConfig, | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_MRUBY) | ||
// &MRubySyntaxConfig, | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_MRUBY) | ||
&RubySyntaxConfig, | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_JS) | ||
// &JsSyntaxConfig, | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_JS) | ||
&JsSyntaxConfig, | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_MOON) | ||
// &MoonSyntaxConfig, | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_MOON) | ||
&MoonSyntaxConfig, | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_FENNEL) | ||
// &FennelSyntaxConfig, | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_FENNEL) | ||
&FennelSyntaxConfig, | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_SCHEME) | ||
// &SchemeSyntaxConfig, | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_SCHEME) | ||
&SchemeSyntaxConfig, | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_SQUIRREL) | ||
// &SquirrelSyntaxConfig, | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_SQUIRREL) | ||
&SquirrelSyntaxConfig, | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_WREN) | ||
// &WrenSyntaxConfig, | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_WREN) | ||
&WrenSyntaxConfig, | ||
#endif | ||
|
||
#if defined(TIC_BUILD_WITH_WASM) | ||
&WasmSyntaxConfig, | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_WASM) | ||
// &WasmSyntaxConfig, | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_JANET) | ||
&JanetSyntaxConfig, | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_JANET) | ||
// &JanetSyntaxConfig, | ||
// #endif | ||
#if defined(TIC_BUILD_WITH_PYTHON) | ||
&PythonSyntaxConfig, | ||
#endif | ||
|
||
// #if defined(TIC_BUILD_WITH_PYTHON) | ||
// &PythonSyntaxConfig, | ||
// #endif | ||
#endif | ||
}; |
Oops, something went wrong.