improve fstring parser

part of: #1671
This commit is contained in:
dvermd 2022-10-17 22:07:10 +02:00
parent ac77f7f501
commit de7acf6f99
3 changed files with 102 additions and 38 deletions

View file

@ -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,
}
}