[vala] Do not allow ++ or -- before regex literals in scanner



commit 5f3df0dae0c7513157e617193f8a5c2c033ab9df
Author: Luca Bruno <lethalman88 gmail com>
Date:   Sun Jun 20 10:50:21 2010 +0200

    Do not allow ++ or -- before regex literals in scanner
    
    Fixes bug 621923.

 vala/valascanner.vala |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/vala/valascanner.vala b/vala/valascanner.vala
index 8099037..19b1e09 100644
--- a/vala/valascanner.vala
+++ b/vala/valascanner.vala
@@ -1022,11 +1022,9 @@ public class Vala.Scanner {
 				case TokenType.MINUS:
 				case TokenType.OP_AND:
 				case TokenType.OP_COALESCING:
-				case TokenType.OP_DEC:
 				case TokenType.OP_EQ:
 				case TokenType.OP_GE:
 				case TokenType.OP_GT:
-				case TokenType.OP_INC:
 				case TokenType.OP_LE:
 				case TokenType.OP_LT:
 				case TokenType.OP_NE:



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