From 82c7c18a4c0bd537a55cd9313afa9c5213006bb2 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 21 Jul 2013 02:20:26 -0400 Subject: rename this function --- t/try/lib/Try.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') diff --git a/t/try/lib/Try.pm b/t/try/lib/Try.pm index 64e6148..20325aa 100644 --- a/t/try/lib/Try.pm +++ b/t/try/lib/Try.pm @@ -30,7 +30,7 @@ sub try_parser { lex_read_space; if (lex_peek(6) =~ /^catch\b/) { - lex_read_to(5); + lex_read(5); lex_read_space; die "syntax error" unless lex_peek(1) eq '{'; $catch = parse_block; @@ -39,7 +39,7 @@ sub try_parser { lex_read_space; if (lex_peek(8) =~ /^finally\b/) { - lex_read_to(7); + lex_read(7); lex_read_space; die "syntax error" unless lex_peek(1) eq '{'; $finally = parse_block; -- cgit v1.2.3-54-g00ecf