mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-08 05:35:22 +00:00
parser error handling improvements.
This commit is contained in:
parent
9f068a3146
commit
888cb310e5
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
use rustpython_parser::error::{ParseError, ParseErrorType};
|
||||
use rustpython_parser::lexer::Location;
|
||||
use rustpython_parser::location::Location;
|
||||
|
||||
use std::error::Error;
|
||||
use std::fmt;
|
||||
|
|
|
@ -9,7 +9,7 @@ Inspirational file: https://github.com/python/cpython/blob/master/Python/symtabl
|
|||
|
||||
use crate::error::{CompileError, CompileErrorType};
|
||||
use rustpython_parser::ast;
|
||||
use rustpython_parser::lexer::Location;
|
||||
use rustpython_parser::location::Location;
|
||||
use std::collections::HashMap;
|
||||
|
||||
pub fn make_symbol_table(program: &ast::Program) -> Result<SymbolScope, SymbolTableError> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue