[vala/0.36] scanner: Fix calculation of column value for tokens after multiline comment



commit 0fde1f70909107e477f9923d8a37caa15801cf5e
Author: Magomed Abdurakhmanov <maqdev gmail com>
Date:   Tue May 2 10:40:14 2017 +0200

    scanner: Fix calculation of column value for tokens after multiline comment
    
    https://bugzilla.gnome.org/show_bug.cgi?id=652899

 vala/valascanner.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vala/valascanner.vala b/vala/valascanner.vala
index 7ac0fd6..8b50a59 100644
--- a/vala/valascanner.vala
+++ b/vala/valascanner.vala
@@ -1565,6 +1565,7 @@ public class Vala.Scanner {
                        }
 
                        current += 2;
+                       column += 2;
 
                        char* begin = current;
                        while (current < end - 1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]