Commit Graph

19 Commits

Author SHA1 Message Date
Tarık B
0b78544796 Fix various mismatches with the specified -max-error-count flag 2023-09-22 17:12:16 +02:00
gingerBill
c91898a888 Remove #relative slices; Replace with #relative multi-pointers 2023-08-05 16:05:39 +01:00
gingerBill
6568625dea Fix line error printing for error messages 2023-06-19 22:12:47 +01:00
gingerBill
bb4ff84a4a Add extra mutex for error block stuff 2023-05-16 11:52:02 +01:00
gingerBill
68dde07d5d Require parentheses around certain uses of or_return expressions 2023-04-27 11:13:05 +01:00
gingerBill
70ce878dfb Add -max-error-count:<integer> 2023-04-04 12:11:12 +01:00
gingerBill
1f17a391c6 Improve error line squiggle logic 2023-02-27 15:58:32 +00:00
gingerBill
a9182cfd8c Allow compound literals to access fields through using 2023-02-26 13:26:35 +00:00
gingerBill
245a6697ef Improve truncated verbose line error 2023-02-22 22:57:11 +00:00
gingerBill
6226c2978d Change padding of showing the error in line 2023-02-22 22:04:00 +00:00
gingerBill
6a6d7701f9 Improve error bounds for check_comparison 2023-02-22 21:50:49 +00:00
gingerBill
6aa54cbe9a Begin work on adding colours to error messages on Windows Terminals 2023-02-22 12:31:51 +00:00
gingerBill
090e30f07b Make -verbose-errors the default; -terse-errors to disable it 2023-02-22 11:48:10 +00:00
gingerBill
f5d507a9b9 Improve errors about conversions of constant integers 2023-02-22 11:30:08 +00:00
gingerBill
5c519f0e8d Remove the synchronization primitive init/destroy calls 2023-01-01 16:19:21 +00:00
gingerBill
ac5f5a33e9 gb_internal a lot 2022-12-18 21:17:07 +00:00
gingerBill
081a5a52a6 Add ODIN_ERROR_POS_STYLE environment variable
Allowing for two different error message styles:
default or odin
    path(line:column) message
unix
    path:line:column: message
2022-01-26 16:09:22 +00:00
gingerBill
56b4e0a3c3 Fix #1267 2022-01-23 15:40:46 +00:00
gingerBill
6f3e450c50 Move error handling code to a separate file 2022-01-10 14:03:36 +00:00