Ben Burdette
|
a295b2ea96
|
if no errLoc, no Loc.
|
2020-07-01 12:02:02 -06:00 |
|
Ben Burdette
|
3629b0585a
|
don't include errpos for addErrorContext
|
2020-07-01 11:49:01 -06:00 |
|
Ben Burdette
|
2a39c083dc
|
non-pos trace test
|
2020-07-01 10:37:31 -06:00 |
|
Ben Burdette
|
a7d5d26443
|
fix tests with the 'from string' change
|
2020-06-30 22:05:21 -06:00 |
|
Ben Burdette
|
9159dfe3d8
|
comments and cleanup
|
2020-06-30 16:31:55 -06:00 |
|
Ben Burdette
|
70bcb39d3f
|
double addtrace for 'called from'
|
2020-06-30 15:44:19 -06:00 |
|
Ben Burdette
|
c484a67914
|
trace formatting
|
2020-06-29 15:46:21 -06:00 |
|
Ben Burdette
|
8f81fae116
|
showTrace flag in loggers
|
2020-06-29 10:20:51 -06:00 |
|
Ben Burdette
|
ef24a0835d
|
showtrace as function arg
|
2020-06-27 12:19:31 -06:00 |
|
Ben Burdette
|
bc9e87412c
|
'string' makes more sense in nix repl
|
2020-06-25 09:56:32 -06:00 |
|
Ben Burdette
|
9ab808c926
|
showTrace flag for ErrorInfo; showTrace test.
|
2020-06-25 09:23:12 -06:00 |
|
Ben Burdette
|
9c0e1fd4f1
|
add trace test; error formatting refinements
|
2020-06-24 18:31:28 -06:00 |
|
Ben Burdette
|
b18ed02b76
|
repl indenting
|
2020-06-24 13:10:41 -06:00 |
|
Ben Burdette
|
00fe653ea5
|
nixCode -> LinesOfCode
|
2020-06-24 08:33:53 -06:00 |
|
Ben Burdette
|
1d43a6e123
|
use plain errPos instead of nixCode; fix tests
|
2020-06-23 15:30:13 -06:00 |
|
Ben Burdette
|
13e87535ff
|
traces to bottom
|
2020-06-23 09:36:58 -06:00 |
|
Ben Burdette
|
54e8f550c9
|
addErrorTrace
|
2020-06-19 13:44:08 -06:00 |
|
Ben Burdette
|
4d1a4f0217
|
addTrace
|
2020-06-18 15:25:26 -06:00 |
|
Ben Burdette
|
e6f93b94fc
|
Merge branch 'master' into caveman-LOCs
|
2020-06-18 13:07:53 -06:00 |
|
Eelco Dolstra
|
8b099812ea
|
Respect terminal width printing error messages
|
2020-06-15 19:35:31 +02:00 |
|
Eelco Dolstra
|
f20bb983ca
|
Cleanup
|
2020-06-15 18:16:03 +02:00 |
|
Eelco Dolstra
|
e14e62fddd
|
Remove trailing whitespace
|
2020-06-15 14:12:39 +02:00 |
|
Ben Burdette
|
b1c53b034c
|
Merge branch 'errors-phase-2' into caveman-LOCs
|
2020-06-08 11:10:13 -06:00 |
|
Ben Burdette
|
94427ffee3
|
add some comments
|
2020-06-04 11:53:19 -06:00 |
|
Ben Burdette
|
f97576c5d9
|
newline-as-prefix; no final newline in output.
|
2020-06-03 14:47:00 -06:00 |
|
Ben Burdette
|
0e49de6a2b
|
position for stdin, string; (string) for trace; fix tests
|
2020-05-21 14:28:45 -06:00 |
|
Ben Burdette
|
6a420d672c
|
print LOC for stdin, string args
|
2020-05-20 22:18:26 -06:00 |
|
Ben Burdette
|
85ce455b85
|
get code lines from the nix file
|
2020-05-20 17:25:02 -06:00 |
|
Ben Burdette
|
19694aa213
|
fix compile errors
|
2020-05-14 12:28:18 -06:00 |
|
Ben Burdette
|
ecbb8e9c0a
|
no blank line if no LOC
|
2020-05-12 14:41:30 -06:00 |
|
Ben Burdette
|
958e81987b
|
switch from printError warnings to logWarnings
|
2020-05-11 13:02:16 -06:00 |
|
Ben Burdette
|
55eb717148
|
add pos to errorinfo, remove from hints
|
2020-05-08 18:18:28 -06:00 |
|
Ben Burdette
|
e76ad2e48a
|
implement SysError errno handling
|
2020-05-06 14:07:20 -06:00 |
|
Ben Burdette
|
e2f61263eb
|
uncrustify formatting
|
2020-04-29 10:14:32 -06:00 |
|
Ben Burdette
|
22e6490311
|
Error classname as name
|
2020-04-28 21:06:08 -06:00 |
|
Ben Burdette
|
d4fd7b543e
|
print dashes instead of empty name string
|
2020-04-25 12:05:26 -06:00 |
|
Ben Burdette
|
cdac083dc5
|
don't print blank lines for blank description
|
2020-04-24 21:40:13 -06:00 |
|
Ben Burdette
|
d8d4844b88
|
all things error to error.hh
|
2020-04-24 14:57:51 -06:00 |
|
Ben Burdette
|
d9632765a8
|
add has_value check; remove obslete friend class
|
2020-04-24 12:44:23 -06:00 |
|
Ben Burdette
|
d3052197fe
|
add ErrorInfo to BaseError
|
2020-04-21 13:25:41 -06:00 |
|
Ben Burdette
|
4697552948
|
demoing other error levels than warn/error; rename line and file fields in errPos
|
2020-04-17 15:50:46 -06:00 |
|
Ben Burdette
|
3d5b1032a1
|
logError, logWarning; Logger functions; switch to Verbosity enum
|
2020-04-17 15:07:44 -06:00 |
|
Ben Burdette
|
057e5b6b2e
|
move implementation to cc
|
2020-04-15 10:09:43 -06:00 |
|
Ben Burdette
|
adf03b0b8e
|
Merge branch 'initializer-style' into error-format
|
2020-04-15 10:06:20 -06:00 |
|
Ben Burdette
|
805ffe1bc9
|
indention
|
2020-04-08 11:33:46 -06:00 |
|
Ben Burdette
|
8c2bf15c4f
|
format -> fmt
|
2020-04-08 11:17:02 -06:00 |
|
Ben Burdette
|
54f91923c8
|
return of NixCode
|
2020-04-08 09:48:21 -06:00 |
|
Ben Burdette
|
47ed067d45
|
initializer style
|
2020-04-08 09:07:58 -06:00 |
|
Ben Burdette
|
00c507cc52
|
columnRange -> column
|
2020-04-07 14:36:32 -06:00 |
|
Ben Burdette
|
20c0984a46
|
remove columnrange; switch to fmt in error.cc
|
2020-04-07 10:14:15 -06:00 |
|