code wiki / (root) / nx_smoke_lex_min.nx

nx_smoke_lex_min.nx

buildroot/runtime/nx_smoke_lex_min.nx

730 B23 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind smoketopic smoke
docsdependenciesstructsconstsfunctions

about

smoke_lex_min.nx -- minimal lex_source call. If this segfaults the bug is in lex.nx or its codegen interaction. If this exits 0 the bug is something specific lex_test does after.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_lex_kinds.nx nx_tokenizer.nx nx_smoke_lex_min.nx

imports: nx_syscalls.nxnx_lex_kinds.nxnx_tokenizer.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main lex_source sys_mmap lexm_expand lexm_prescan lexm_isid is_alnum is_alpha is_digit lexm_body_end lexm_define lexm_init sys_mmap ↻ lexm_warn_body_too_long lexm_diag_cell lexm_emit_str lexm_emit_dec sys_write lexm_name_at lexm_body_at sys_mmap ↻ lexm_isid ↻ lexm_body_end ↻ lexm_for_expand lexm_isid ↻ lexm_body_end ↻ lexm_for_emit lexm_isid ↻ sys_mmap ↻ lexm_for_bound lexm_lookup lexm_name_at ↻ lexm_body_at ↻ lexm_body_int lexm_emit_dec ↻ lexm_kw_is lexm_paste_expand sys_mmap ↻ lexm_trim lexm_is_ident_text

structs

none

consts

none

functions

16func main() -> i64
calls 1: lex_source