lixqopensorce / softart

Automatically exported from code.google.com/p/softart
Other
0 stars 0 forks source link

Add error handling support to wave lexer, lexer and parser. #170

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description:

Original issue reported on code.google.com by wuye9036 on 14 Mar 2012 at 6:03

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 16 Mar 2012 at 9:24

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 19 Mar 2012 at 11:13

GoogleCodeExporter commented 8 years ago
This issue was updated by revision d374eac6ec20.

SASL:
  Disable warning 4731. (ebp pointer was changed.)
  Now diag_item support a text level for pure text information.
  Completes diag_item and diag_chat interfaces.
  Now diag_item support 'eval'.
  Now branches will not report bug when at least one branch is matched.
  Now driver report information by diag_chat and diag_item.
  Add diag_formatter to get human-readable diagnostic information.

Original comment by wuye9036 on 19 Mar 2012 at 1:13

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 3357734970fe.

SASL:
  Add robust test project to test error handling..
  Add incomplete.ss and add to robust test.

Original comment by wuye9036 on 23 Mar 2012 at 9:13

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 9ff8861cdb6b.

SASL:
  Parse of generator now return a succeed, failed or recovered states.

Original comment by wuye9036 on 24 Mar 2012 at 8:56

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 82b9d473997f.

SASL:
  Add clear() to diag_chat.
  Now tokenizer will generate 'end-of-file' token as explict end of token streams.
    It could be treated as "guard token".
  parse_results now is the result type of parser::parse. It could supply more useful state.
  Add error_handlers.h/cpp for error handling function.
  Refine test incomplete.ss.
  Add unmatched expected "}" handling.
  Add codes for error handling and broadcasting to parsers.

Original comment by wuye9036 on 24 Mar 2012 at 8:56

GoogleCodeExporter commented 8 years ago
This issue was updated by revision d085a02e0fa4.

SASL:
  Add boost_wave_exception_* templates to report exceptions from Boost.Wave.
  Now format of error report of Boost.Wave is better.
  Add more rules for error handlers:
    1. Now we only report expected matched failed.
    2. If all branches are failed or expected matched failed, we choose the most matched branch.
    3. If queuer is failed to match, return failed. (DON'T recovery token iterator)
    4. If queuer is failed to expected match, raise an assert which need to be handled.
    5. Repeater may return succeed if rule is failed.
       But if result is 'expected failed', all diagnostic informations were reported.
       And return 'expected_match_failed'
  Now terminals are all with better description.
  Register default error catchers for some rules and expected terminals.

Original comment by wuye9036 on 26 Mar 2012 at 6:28

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 9cd570dd23e1.

SASL:
  Fixed a compilation bug of code_sources.
  Fixed parse_results::is_expected_failed.
  Error handling rule changed:
    1. Now selector will return recovered branch if others are all failed.
    2. If former rule in queuer is expected failed or recoverd and 'match failed' has happend, it will return expected_fail.
    3. Queuer never restore iterator even it's matched failed. its parent will do it.

Original comment by wuye9036 on 26 Mar 2012 at 6:28

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 0fd8a4996663.

SASL:
  Add token_begin and token_end to syntax_tree::node.
  Now node object has token range information.
  Syntax tree now hold token range information.
  Now semantic_analyser has diag_chat members.
  Add semantic_error.ss but empty.
  Rename semantic_error.h/cpp to semantic_diags.
  Try to add some semantic diagnostic template.
  Now duplicate will clone token info.

Original comment by wuye9036 on 27 Mar 2012 at 12:31

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 30 Mar 2012 at 2:18

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 2 Apr 2012 at 7:23

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 4 Dec 2012 at 6:35

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 16 Mar 2014 at 9:02