Skip to content

Commit f214dca

Browse files
committed
fix parsing of versions with more than one digit (major-version > 9)
1 parent fc92e1e commit f214dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STD.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ grammar P6 is STD {
16311631
}
16321632

16331633
token version:sym<v> {
1634-
'v' <?before \d> :: <vnum> +% '.' '+'?
1634+
<?before v\d+> 'v' <vnum> +% '.' '+'?
16351635
}
16361636

16371637
###############

0 commit comments

Comments
 (0)