Permalink
Browse files

Support parsing 1.5e2 syntax

  • Loading branch information...
1 parent 2426a6c commit a54d5d2bf7b978b690164217b1ce021a7c232435 @sorear committed Feb 19, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/niecza
View
@@ -255,6 +255,11 @@ method statement_control:repeat ($/) {
$<xblock> ?? $<xblock>.ast[1] !! $<pblock>.ast);
make ::Op::WhileLoop.new(|node($/), :$check, :$until, :$body, :once);
}
+
+method escale ($/) { }
+method dec_number ($/) {
+ make +((~$/).comb(/<-[_]>/).join(""));
+}
}
augment class CgOp {

0 comments on commit a54d5d2

Please sign in to comment.