changeset 12638:fd367312095a

oct-parse.yy (skip_white_space): Fix column number calculation.
author Daniel Kraft <d@domob.eu>
date Tue, 05 Apr 2011 11:15:50 +0200
parents 83fa84ef63ca
children 88b82e1b54ac
files src/oct-parse.yy
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/oct-parse.yy	Mon Apr 25 12:32:22 2011 -0700
+++ b/src/oct-parse.yy	Tue Apr 05 11:15:50 2011 +0200
@@ -3340,11 +3340,10 @@
           break;
 
         case '\n':
-          current_input_column = 0;
+          current_input_column = 1;
           break;
 
         default:
-          current_input_column--;
           reader.ungetc (c);
           goto done;
         }