Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improve the ignore macro.

  • Loading branch information...
commit 67173ed5225c29f60743c782c5252ec84c0e17b4 1 parent 08ade25
@VladD2 VladD2 authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 macros/core.n
View
5 macros/core.n
@@ -850,9 +850,10 @@ namespace Nemerle.Core
}
}
- macro ignore (e)
+ macro ignore(params exprs : list[PExpr])
{
- <[ def _ = $e; () ]>
+ def exprs = exprs.Map(e => <[ def _ = $e; ]>);
+ <[ { ..$exprs } ]>
}
macro abort (message = <[ "" ]>)
Please sign in to comment.
Something went wrong with that request. Please try again.