Mercurial > projects > dang
diff parser/Action.d @ 150:6c5a3c0bb4fb
Make switch work again
Also added locations to statements (only filled out for switch)
Added a verification pass
Removed some comments
author | Anders Halager <halager@gmail.com> |
---|---|
date | Mon, 21 Jul 2008 20:35:03 +0200 |
parents | 8c09fdaa724e |
children | ee202c72cd30 |
line wrap: on
line diff
--- a/parser/Action.d Mon Jul 21 19:17:56 2008 +0200 +++ b/parser/Action.d Mon Jul 21 20:35:03 2008 +0200 @@ -300,16 +300,16 @@ return null; } - StmtT actOnStartOfSwitchStmt(ExprT exp) + StmtT actOnStartOfSwitchStmt(Token _switch, ExprT exp) { return null; } - void actOnCaseStmt(StmtT stmt, ExprT[] exps, StmtT[] stmts) + void actOnCaseStmt(StmtT stmt, Token _case, ExprT[] exps, StmtT[] stmts) { } - void actOnDefaultStmt(StmtT stmt, StmtT[] stmts) + void actOnDefaultStmt(StmtT stmt, Token _default, StmtT[] stmts) { }