mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-01 05:11:09 +00:00
Update parse.rs
This commit is contained in:
parent
18591823f1
commit
eb23d9f532
1 changed files with 3 additions and 1 deletions
|
@ -68,11 +68,13 @@ pub enum ArrayInner {
|
|||
},
|
||||
}
|
||||
|
||||
/// Perform recursive descent parsing.
|
||||
///
|
||||
/// To enhance error descriptions, the parsing process will continue as long as it's not fatal.
|
||||
#[derive(Debug)]
|
||||
pub struct Parser {
|
||||
counter: DefId,
|
||||
level: usize,
|
||||
level: usize, // nest level (for debugging)
|
||||
tokens: TokenStream,
|
||||
warns: ParseErrors,
|
||||
errs: ParseErrors,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue