From 8e838ce0fd145431b433f534c71bdb7f5d6b11ac Mon Sep 17 00:00:00 2001 From: kosak Date: Thu, 8 Jan 2015 02:48:08 +0000 Subject: Adding support to gmock_gen for nested templates. --- scripts/generator/cpp/tokenize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/generator/cpp/tokenize.py') diff --git a/scripts/generator/cpp/tokenize.py b/scripts/generator/cpp/tokenize.py index 28c33452..359d5562 100755 --- a/scripts/generator/cpp/tokenize.py +++ b/scripts/generator/cpp/tokenize.py @@ -173,7 +173,7 @@ def GetTokens(source): token_type = SYNTAX i += 1 new_ch = source[i] - if new_ch == c: + if new_ch == c and c != '>': # Treat ">>" as two tokens. i += 1 elif c == '-' and new_ch == '>': i += 1 -- cgit v1.2.3