diff options
author | kosak <kosak@google.com> | 2015-01-08 02:48:08 +0000 |
---|---|---|
committer | kosak <kosak@google.com> | 2015-01-08 02:48:08 +0000 |
commit | 8e838ce0fd145431b433f534c71bdb7f5d6b11ac (patch) | |
tree | 1e4823d9b0396e2cc0c6240824e4e12f6a41a08c /scripts/generator/cpp/tokenize.py | |
parent | 6b817803104b30d5951c652a1427492db116a490 (diff) | |
download | googletest-8e838ce0fd145431b433f534c71bdb7f5d6b11ac.tar.gz googletest-8e838ce0fd145431b433f534c71bdb7f5d6b11ac.tar.bz2 googletest-8e838ce0fd145431b433f534c71bdb7f5d6b11ac.zip |
Adding support to gmock_gen for nested templates.
Diffstat (limited to 'scripts/generator/cpp/tokenize.py')
-rwxr-xr-x | scripts/generator/cpp/tokenize.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |