aboutsummaryrefslogtreecommitdiff
path: root/lib/output.js
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-10-02 16:39:53 +0300
committerMihai Bazon <mihai@bazon.net>2012-10-02 16:39:53 +0300
commit075f93ec0dd8a86a87632ac1e2b1aac3b115f7c0 (patch)
tree49aa5ac8db20527c1a8b0ecda6e96005501ac729 /lib/output.js
parent2a5456260e01af2228356edfb6e31e3946fcbd91 (diff)
downloadtracifyjs-075f93ec0dd8a86a87632ac1e2b1aac3b115f7c0.tar.gz
tracifyjs-075f93ec0dd8a86a87632ac1e2b1aac3b115f7c0.zip
line numbers start at 1
Diffstat (limited to 'lib/output.js')
-rw-r--r--lib/output.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js
index d36c9578..cbd97a96 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -63,7 +63,7 @@ function OutputStream(options) {
var indentation = 0;
var current_col = 0;
- var current_line = 0;
+ var current_line = 1;
var current_pos = 0;
var OUTPUT = "";