Skip to content

mini-tt2: emit C line control macros to point to tt2 template file locations #34

@agentzh

Description

@agentzh

Let's make mini-tt2 emit C line control macros to the C output like below:

#line 32 "src/http/ngx_http_lua_foo.c.tt2"

So that it would be easier to debug any compilation errors or runtime C backtraces directly in the template files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions