• Home
Name Date Size #Lines LOC

..--

Jamfile.v2D12-May-202432 21

READMED12-May-2024564 1813

main.cppD12-May-20241.1 KiB5224

README

1This example shows how a compile-time parsing error can be debugged.
2The commented code fails to compile and on some platforms the error report might
3be difficult to understand. This example demonstrates how debug_parsing_error
4can be used to get a user friendly error report about such thing. You need to
5run the compiled code to get the error message:
6
7Compile-time parsing results
8----------------------------
9Input text:
10aaac
11
12Parsing failed:
13line 1, col 4: Expected: b
14
15The col and line information refers to the location of the error in the string
16literal.
17
18