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



commit 71df8a7a815ddad9ad6d150f9351a83c60020e44
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]