Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[dotnet] remove debug/testing code.. (oops, free karma) diakopter--
  • Loading branch information
diakopter committed Nov 25, 2010
1 parent 40a0b88 commit 7f92cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/compiler/PAST2DNSTCompiler.pm
Expand Up @@ -1288,7 +1288,7 @@ our multi sub dnst_regex(PAST::Regex $r) {
elsif $pasttype eq 'literal' {
# Code for literal characters. Faked/stubbed.
$stmts.push(if_then(
log_or(lt(lit(1),lit(0)),ge(emit_call($*re_tgt, 'IndexOf', 'int', lits((@($r))[0]), $*re_pos_lit), lit(0))),
ge(emit_call($*re_tgt, 'IndexOf', 'int', lits((@($r))[0]), $*re_pos_lit), lit(0)),
DNST::Bind.new($*re_pos, plus($*re_pos_lit, lit(pir::length((@($r))[0]))))
));
}
Expand Down

0 comments on commit 7f92cdc

Please sign in to comment.