mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-15 09:05:25 +00:00
parent
ac77f7f501
commit
de7acf6f99
3 changed files with 102 additions and 38 deletions
|
@ -172,7 +172,7 @@ impl SymbolTableError {
|
|||
pub fn into_codegen_error(self, source_path: String) -> CodegenError {
|
||||
CodegenError {
|
||||
error: CodegenErrorType::SyntaxError(self.error),
|
||||
location: self.location,
|
||||
location: Location::new(self.location.row(), self.location.column() + 1),
|
||||
source_path,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue