☰
Debian Codegraph
@
0.8.5-1
/
/
tests
/
compile-fail
/
nullable_loop.rs
☽
☼
tests/compile-fail/nullable_loop.rs
code
plain
raw
symbols
SCIP
Expat
2013 Kevin Mehall <
[email protected]
>
debian/copyright
1
peg::parser!(grammar e()
for
str
{
2
rule nested() = (
"a"
*)*
//~ ERROR
3
4
rule nested_ok() = (
"a"
+)*
5
6
rule nullable() =
"x"
?
7
8
rule call() =
"foo"
nullable()*
//~ ERROR
9
10
rule more_complex() = (
"x"
/
"a"
?
"b"
?)*<
2
,>
//~ ERROR
11
});
12
13
fn
main
() {}