diff options
| author | Mel <einebeere@gmail.com> | 2022-06-12 14:37:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-12 14:37:44 +0000 |
| commit | e1ffe8f4967002eccda902a01518894e5b8e9ed4 (patch) | |
| tree | c920d5e2c1862df8a73ed2449aa8510e701673b8 /pkg/lang/vm | |
| parent | bc35c4f5cb981405050957833ff6d87733032d5c (diff) | |
| download | jinx-e1ffe8f4967002eccda902a01518894e5b8e9ed4.tar.zst jinx-e1ffe8f4967002eccda902a01518894e5b8e9ed4.zip | |
Remove println from builder
Diffstat (limited to 'pkg/lang/vm')
| -rw-r--r-- | pkg/lang/vm/code/builder.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/lang/vm/code/builder.go b/pkg/lang/vm/code/builder.go index 51820fb..4a5ef70 100644 --- a/pkg/lang/vm/code/builder.go +++ b/pkg/lang/vm/code/builder.go @@ -64,12 +64,9 @@ func (b *Builder) EndLine() { } if b.lineStart == len(b.code) { - println("line empty") return } - - println("line start", b.lineStart) - + b.debugInfo.AppendLine(len(b.code)-1, b.currentLine) } |
