diff options
author | pommicket <pommicket@gmail.com> | 2023-08-12 10:41:22 -0300 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-12 10:41:22 -0300 |
commit | dbf441cdc74245c5a5f567ae0165146cd74c3b92 (patch) | |
tree | f1ca3bdf3102445a000bbc6e2695333150d0c0a2 /build.c | |
parent | a974b6192479e5f7f6d6fcc328313c76290f486d (diff) |
more internralization
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -3,6 +3,18 @@ #include "ted-internal.h" +struct BuildError { + char *path; + u32 line; + u32 column; + /// if this is 1, then column == UTF-32 index. + /// if this is 4, for example, then column 4 in a line starting with a tab would + /// be the character right after the tab. + u8 columns_per_tab; + /// which line in the build output corresponds to this error + u32 build_output_line; +}; + void build_stop(Ted *ted) { if (ted->building) process_kill(&ted->build_process); |