diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-22 19:13:15 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-22 20:02:18 +0100 |
commit | 99cf6e8eca2e3d29874b8b80e8c4312cd1bc87ba (patch) | |
tree | d19f8f6177b0be1938f4f9c9744eda39f43e2072 /Converter/src/test.c | |
parent | 1a2d0ffdbfb69a2858fb45facfb18468106edd9a (diff) | |
download | mdhtml-99cf6e8eca2e3d29874b8b80e8c4312cd1bc87ba.tar.gz mdhtml-99cf6e8eca2e3d29874b8b80e8c4312cd1bc87ba.tar.bz2 mdhtml-99cf6e8eca2e3d29874b8b80e8c4312cd1bc87ba.zip |
~compile_lines -> compile_file, shuffle
I've redid the compiler to use a FILE object pointer, which means that
we can leave error checking for FILES on the main program.
Furthermore, I've removed the use of the array_t type with a two pass
system. One pass is done for the number of lines (along with potentially
other diagnostics), another is done for the actual compilation. This
means at runtime we have an understanding about the size of the file and
can optimize for it. Also, we have a single memory block to assign to,
where we know the size of the array.
Diffstat (limited to 'Converter/src/test.c')
0 files changed, 0 insertions, 0 deletions