- Add detailed build and bootstrap instructions to README.md. - Convert all source and header files from .c/.h to .c.md/.h.md. - Add bootstrap.sh script for automated building across version history. - Update Makefile and sources.mk to reflect new markdown-based source organization.
18 lines
316 B
Markdown
18 lines
316 B
Markdown
```c
|
|
#include "internal/transpile_internal.h"
|
|
|
|
void
|
|
state_init(t_state *s, FILE *in, FILE *out, const char *ext, t_map *map)
|
|
{
|
|
s->in = in;
|
|
s->out = out;
|
|
s->ext = ext;
|
|
s->map = map;
|
|
s->src_line = 0;
|
|
s->dst_line = 0;
|
|
s->block_src_start = 0;
|
|
s->block_dst_start = 0;
|
|
s->in_block = 0;
|
|
s->first_block = 1;
|
|
}
|
|
```
|