Remove "//" from file paths.

This commit is contained in:
Tom Alexander
2023-10-08 09:16:48 -04:00
parent 0030ef4459
commit ba8115c648
2 changed files with 5 additions and 2 deletions

View File

@@ -268,8 +268,9 @@ fn file_path_reg<'b, 'g, 'r, 's>(
parse_file_and_application,
),
tag(":"),
opt(tag("//")),
)),
|(_, application, _)| application,
|(_, application, _, _)| application,
),
map(peek(tag(".")), |_| None),
map(peek(tag("/")), |_| None),