diff options
| author | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-15 12:11:02 +0000 |
|---|---|---|
| committer | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-15 12:11:02 +0000 |
| commit | 7411d71fbde5d652f04cc8851ed93bd15513968b (patch) | |
| tree | 2fe1e8fa9a604dc558a0528d8f465bef8b597aab /src/main.c | |
| parent | 1925cf6f1a8c134cbfae728023ac325f03e4c14f (diff) | |
Some docs for plugins, among other things.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -125,7 +125,7 @@ int main(int argc, char **argv) { g_config.emit_c = 1; } - else if (strcmp(arg, "--version") == 0|| strcmp(arg, "-V") == 0) + else if (strcmp(arg, "--version") == 0 || strcmp(arg, "-V") == 0) { print_version(); return 0; @@ -228,21 +228,6 @@ int main(int argc, char **argv) // Scan for build directives (e.g. //> link: -lm) scan_build_directives(&ctx, src); - // Register built-in plugins - extern ZPlugin brainfuck_plugin; - extern ZPlugin befunge_plugin; - extern ZPlugin lisp_plugin; - extern ZPlugin forth_plugin; - extern ZPlugin regex_plugin; - extern ZPlugin sql_plugin; - - zptr_register_plugin(&brainfuck_plugin); - zptr_register_plugin(&befunge_plugin); - zptr_register_plugin(&lisp_plugin); - zptr_register_plugin(&forth_plugin); - zptr_register_plugin(®ex_plugin); - zptr_register_plugin(&sql_plugin); - Lexer l; lexer_init(&l, src); |
