mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-20 08:01:42 +03:00
update package name pest
This commit is contained in:
parent
563e3a0d5a
commit
79b42c168c
@ -443,8 +443,8 @@ input_tuple = _{ "(" ~ NEWLINE* ~ (input ~ ("," ~ NEWLINE* ~ input)* ~ ","?)? ~
|
|||||||
// Declared in imports/import.rs
|
// Declared in imports/import.rs
|
||||||
import = { "import " ~ package ~ LINE_END}
|
import = { "import " ~ package ~ LINE_END}
|
||||||
|
|
||||||
|
// Declared in imports/package_name.rs
|
||||||
package_name = @{ ((ASCII_ALPHA_LOWER | ASCII_DIGIT) ~ ( "-" ~ (ASCII_ALPHA_LOWER | ASCII_DIGIT))*)+ }
|
package_name = @{ (ASCII_ALPHA_LOWER | ASCII_DIGIT)+ ~ ( "-" ~ (ASCII_ALPHA_LOWER | ASCII_DIGIT)+)* }
|
||||||
|
|
||||||
// Declared in imports/package.rs
|
// Declared in imports/package.rs
|
||||||
package = { package_name ~ "." ~ package_access }
|
package = { package_name ~ "." ~ package_access }
|
||||||
|
Loading…
Reference in New Issue
Block a user