NirViaje / softart

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

Add error handling to semantic analyser. #176

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description:
  as title.

Original issue reported on code.google.com by wuye9036 on 26 Mar 2012 at 12:41

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

SASL:
  Now token_beg() and token_end() of attribute are not query from top to bottom.
  Parser combinators now summarize token informations when create attribute.
  Add error_count function for diag_chat.
  Now semantic will reset semantic info of module if error occurs on semantic analysis stage.
  3 errors were supported:
    no function overloading;
    more than one overloaded functions;
    not a member

Original comment by wuye9036 on 27 Mar 2012 at 3:41

GoogleCodeExporter commented 8 years ago
Remain 13 TODOs in semantic_analyser.

Original comment by wuye9036 on 27 Mar 2012 at 3:47

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

SASL:
  Add scalar_nick_name for get more readable scalar typename.
  Add error report for invalid swizzle.

Original comment by wuye9036 on 28 Mar 2012 at 1:04

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

SASL:
  Add operator param unmatched error report.
  Add type unmatched error report for cond expression.

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

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

SASL:
  Add undeclared identfier error report and test.
  Add type illegal use type as expr error report and test.
  Add guard code for error occurred while visiting child.
  Now as_handle will return null pointer but not throw exception if casting failed.
  si_ptr now return NULL if cast failed and break on debug, and static_cast will be used in release mode.
  dyn_siptr will return NULL if casting failed at any time.

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

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

SASL:
  Add type redefinition, case expr not constant and illegal type for case expr errors report.
  Fixed some robust issues when error raised.

Original comment by wuye9036 on 30 Mar 2012 at 11:11

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

SASL:
  Fixed a bug on variable expression refers parameter.
  Fixed a bug on switch with default condition.

Original comment by wuye9036 on 30 Mar 2012 at 12:05

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago

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

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

SASL: Add L-R Value support to semantic analyser.
SASL: Fixed an issue when include failed.
SASL: unary and binary operators hold operator token.
SASL: Rename some xxx_*si to xx_sem.
SASL: L-R Value report wasn't tested yet.

Original comment by wuye9036 on 10 Sep 2012 at 3:11

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

SASL: Now semantic could report L-R value errors.
SASL: Fixed a bug of wrong deletion of syntax tree node.

Original comment by wuye9036 on 10 Sep 2012 at 1:10

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