]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
geniescanner: Remove trailing spaces/tabs
authorVladislav <naumovvladislav@mail.ru>
Sun, 22 Jan 2017 21:46:57 +0000 (23:46 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 17 Feb 2017 19:49:12 +0000 (20:49 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=611085

vala/valageniescanner.vala

index 95a89842d7d9abbe5e5f9cad652aa23d3c42beb7..e232a77bc44e281e285cb4c8ff9d4ce65ff0f5f9 100644 (file)
@@ -404,7 +404,7 @@ public class Vala.Genie.Scanner {
                                break;
                        case 's':
                                if (matches (begin, "self")) return TokenType.THIS;
-                               break;  
+                               break;
                        case 't':
                                if (matches (begin, "true")) return TokenType.TRUE;
                                break;
@@ -435,7 +435,7 @@ public class Vala.Genie.Scanner {
                                        break;
                                case 's':
                                        if (matches (begin, "async")) return TokenType.ASYNC;
-                                       break;  
+                                       break;
                                }
                                break;
                        case 'b':
@@ -466,7 +466,7 @@ public class Vala.Genie.Scanner {
                                break;
                        case 'o':
                                if (matches (begin, "owned")) return TokenType.OWNED;
-                               break;  
+                               break;
                        case 'p':
                                if (matches (begin, "print")) return TokenType.PRINT;
                                break;
@@ -652,7 +652,7 @@ public class Vala.Genie.Scanner {
                        switch (begin[0]) {
                        case 'i':
                                if (matches (begin, "implements")) return TokenType.IMPLEMENTS;
-                               break;  
+                               break;
                        }
                        break;
                }
@@ -813,7 +813,7 @@ public class Vala.Genie.Scanner {
                }
 
                if ((_indent_spaces == 0 ) || (last_token != TokenType.EOL)) {
-                       /* scrub whitespace (excluding newlines) and comments */                
+                       /* scrub whitespace (excluding newlines) and comments */
                        space ();
                }
                
@@ -841,7 +841,7 @@ public class Vala.Genie.Scanner {
                        last_token = TokenType.EOL;
 
                        return TokenType.EOL;
-               } 
+               }
 
 
                while (skip_newlines ()) {
@@ -852,7 +852,7 @@ public class Vala.Genie.Scanner {
                        /* if its an empty new line then ignore */
                        if (current_indent_level == -1)  {
                                continue;
-                       } 
+                       }
 
                        if (current_indent_level > indent_level) {
                                indent_level = current_indent_level;