offset column numbers
@@ -30,10 +30,10 @@ impl ParseError {
location.line += syn_call_site.line as u32;
if syn_call_site.line == 0 {
location.column += syn_call_site.column as u32;
- }
- else{
+ } else {
location.column = syn_call_site.column as u32;
}
+ location.column += 1;
ParseError { message, location }
}
}
