[expr parser] getting familiar with the expression parser

This commit is contained in:
Allen Webster
2021-10-01 20:03:50 -07:00
parent e36e0de276
commit 4ce22d786c
6 changed files with 246 additions and 213 deletions
+9
View File
@@ -0,0 +1,9 @@
I don't get what's going on with error messages:
`MD_u64 error_offset = node->offset - ctx->original_first->offset;`
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.