asm/asm.c
static void lex_line(struct Context *ctx, struct Token *first) {
    if (first->kind == TK_AT) {
        asmchk(
            first->next->kind == TK_SYMBOL,
            ctx, first, "Expected directive");

        char directive_name[32];
        assert(token_data(first->next, directive_name, sizeof(directive_name)));
        directive(ctx, first, true);
    }
}
// lexer line end callback. used to trigger lex directives.
lexer line end callback. used to trigger lex directives.
lexer line end callback . used to trigger lex directives .
static void lex_line(struct Context *ctx, struct Token *first) {
    if (first->kind == TK_AT) {
        asmchk(
            first->next->kind == TK_SYMBOL,
            ctx, first, "Expected directive");
        char directive_name[32];
        assert(token_data(first->next, directive_name, sizeof(directive_name)));
        directive(ctx, first, true);
    }
}
static void lex_line ( struct Context * ctx , struct Token * first ) { if ( first -> kind == TK_AT ) { asmchk ( first -> next -> kind == TK_SYMBOL , ctx , first , " " ) ; char directive_name [ 32 ] ; assert ( token_data ( first -> next , directive_name , sizeof ( directive_name ) ) ) ; directive ( ctx , first , true ) ; } }
lexer line end callback.
lexer line end callback .