asm/lex.c
static struct Token *lex_value(
        struct Context *ctx,
        struct Token *current,
        enum TokenKind value
    ) {
    return lex_push(ctx, current, (struct Token) {
        .kind = value,
        .data = ctx->current,
        .len = 1,
        .line_index = ctx->current - ctx->input->line
    });
}
// pushes a value token to the token stream, returning the latest in the stream
pushes a value token to the token stream, returning the latest in the stream
pushes a value token to the token stream returning the latest in the stream
static struct Token *lex_value(
        struct Context *ctx,
        struct Token *current,
        enum TokenKind value
    ) {
    return lex_push(ctx, current, (struct Token) {
        .kind = value,
        .data = ctx->current,
        .len = 1,
        .line_index = ctx->current - ctx->input->line
    });
}
static struct Token * lex_value ( struct Context * ctx , struct Token * current , enum TokenKind value ) { return lex_push ( ctx , current , ( struct Token ) { . kind = value , . data = ctx -> current , . len = 1 , . line_index = ctx -> current - ctx -> input -> line } ) ; }
pushes a value token to the token stream, returning the latest in the stream
pushes a value token to the token stream returning the latest in the stream