Show the location of the cpp_macro that can't be parsed.
Before this patch, cpp_build would panic with error message which is just failed to parse cpp! macrowhich is not really helping much as we don't even know what cpp! macro was wrong. So add the location of the cpp! macro to the message.
Add #line pointing to the cpp_build's source file
Not 100% perfect, but cover most part of the file and avoid having an error to a location which is completely off when the compiler points to part of the generated file which is not directly in the programmer's .rs file.
Before this patch, cpp_build would panic with error message which is just
failed to parse cpp! macro
which is not really helping much as we don't even know what cpp! macro was wrong. So add the location of the cpp! macro to the message.Not 100% perfect, but cover most part of the file and avoid having an error to a location which is completely off when the compiler points to part of the generated file which is not directly in the programmer's .rs file.