refactor(parser): options value should not allow ident with quote.
@@ -27,7 +27,7 @@ use crate::util::*;
use crate::ErrorKind;
pub fn ident_to_string(i: Input) -> IResult<String> {
- map_res(ident, |ident| Ok(ident.name))(i)
+ map_res(rule! { Ident }, |ident| Ok(ident.text().to_string()))(i)
}
pub fn u64_to_string(i: Input) -> IResult<String> {
