From 3378c0c3704e1b85f23459fc1273186ec9ecbd8a Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Tue, 29 Dec 2020 01:25:30 -0800 Subject: add a FromStr instance for GenericPathComponent, and a new type PathError --- src/path/parser.lalrpop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/path/parser.lalrpop') diff --git a/src/path/parser.lalrpop b/src/path/parser.lalrpop index 9705fc3..c41b3fd 100644 --- a/src/path/parser.lalrpop +++ b/src/path/parser.lalrpop @@ -70,7 +70,7 @@ PathNoColons2: Vec = { } } -PathComponent: GenericPathComponent = { +pub PathComponent: GenericPathComponent = { DOT => GenericPathComponent::CurrentDirectory, DOT_DOT => GenericPathComponent::ParentDirectory, => -- cgit 1.4.1