mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
all parse tests work!
This commit is contained in:
parent
e83cb0d027
commit
d284d3bb72
4 changed files with 12 additions and 25 deletions
|
@ -9,9 +9,8 @@ use crate::header::{
|
|||
use crate::ident::{lowercase_ident, unqualified_ident, uppercase_ident};
|
||||
use crate::parser::Progress::{self, *};
|
||||
use crate::parser::{
|
||||
self, ascii_char, ascii_string, backtrackable, end_of_file, fail_when_progress, loc, optional,
|
||||
peek_utf8_char, peek_utf8_char_at, unexpected, unexpected_eof, Either, ParseResult, Parser,
|
||||
State,
|
||||
self, ascii_char, ascii_string, backtrackable, loc, optional, peek_utf8_char,
|
||||
peek_utf8_char_at, unexpected, unexpected_eof, Either, ParseResult, Parser, State,
|
||||
};
|
||||
use crate::string_literal;
|
||||
use crate::type_annotation;
|
||||
|
@ -323,8 +322,8 @@ fn provides_to<'a>() -> impl Parser<'a, ProvidesTo<'a>> {
|
|||
map!(
|
||||
and!(
|
||||
and!(
|
||||
skip_second!(backtrackable(space1(1)), ascii_string("provides")),
|
||||
space1(1)
|
||||
skip_second!(debug!(backtrackable(space1(1))), ascii_string("provides")),
|
||||
debug!(space1(1))
|
||||
),
|
||||
and!(
|
||||
collection!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue