[expr parser] fix test fails; refactoring error reporting

This commit is contained in:
Allen Webster
2021-10-01 21:03:33 -07:00
parent b41590525e
commit 8cbd0cc2dc
4 changed files with 46 additions and 23 deletions
+7 -2
View File
@@ -3,7 +3,12 @@ I don't get what's going on with error messages:
Why is it rebased by "original_first"?
Why is it the same for 3 locations but different here?
`MD_u64 error_offset = ctx.first->offset - first->offset;`
Why is it named `MD_MakeExprParseError` it doesn't seem to have any\
details tied expression parsing.
Why is it named `MD_MakeExprParseError`?
Some changes I made to `MD_MakeExprParseError` (I'm not obsessed I swear):
Attach user pointer to keep the testing features working as originally written