mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
js: fix emitting line number to debug info
This commit is contained in:
parent
994e01ec9d
commit
055d5df367
|
@ -80,6 +80,9 @@ public class OutputSourceWriter extends SourceWriter implements LocationProvider
|
||||||
letSequenceSize = 0;
|
letSequenceSize = 0;
|
||||||
try {
|
try {
|
||||||
innerWriter.append(";\n");
|
innerWriter.append(";\n");
|
||||||
|
column = 0;
|
||||||
|
line++;
|
||||||
|
lineStart = true;
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user