dhh1128 / intent

the intent formal language
https://intentlang.org
2 stars 1 forks source link

Copy clang's arrows pointing at the position in a line where an error occurs #105

Open dhh1128 opened 9 years ago

dhh1128 commented 9 years ago

Notice how the "^~~~" points at the place where an error occurs:

lexer.cpp:723:15: error: use of undeclared identifier 'wrapped_text'; did you mean 'unwrapped_text'?
    t.value = wrapped_text;
              ^~~~~~~~~~~~
              unwrapped_text