Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Turn an our sub into a lexical one.
  • Loading branch information
jnthn committed Apr 15, 2013
1 parent 2afee8f commit f7a84ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HLL/Actions.nqp
@@ -1,5 +1,5 @@
class HLL::Actions {
our sub string_to_int($src, $base) {
sub string_to_int($src, $base) {
my $res := nqp::radix($base, $src, 0, 2);
$src.CURSOR.panic("'$src' is not a valid number")
unless nqp::atpos($res, 2) == nqp::chars($src);
Expand Down

0 comments on commit f7a84ee

Please sign in to comment.