Ticket #2511: error_handling.patch
File error_handling.patch, 823 bytes (added by , 14 years ago) |
---|
-
libs/spirit/doc/qi_and_karma/error_handling.qbk
99 99 For our example above, when you get a `"</"`, you definitely must see a valid 100 100 end-tag label next. It should be the one you got from the start-tag. After that, 101 101 you definitely must have a `'>'` next. Otherwise, there is no point in 102 proceeding forwardand trying other branches, regardless where they are. The102 proceeding and trying other branches, regardless where they are. The 103 103 input is definitely erroneous. When this happens, an expectation_failure 104 104 exception is thrown. Somewhere outward, the error handler will catch the 105 105 exception.