From 1a01d49a5f4858ede8175221921be0e3719ea2a6 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 28 May 2012 00:10:21 +0200 Subject: [PATCH] preprocessor: scanning for :: token was missing --- preprocessor.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/preprocessor.c b/preprocessor.c index e1c5d0e..9425292 100644 --- a/preprocessor.c +++ b/preprocessor.c @@ -1043,6 +1043,13 @@ digraph_percentcolon: case ':': MAYBE_PROLOG MAYBE_DIGRAPH('>', ']', symbol_colongreater) + case ':': + if (c_mode & _CXX) { + next_char(); + set_punctuator(T_COLONCOLON); + return; + } + /* FALLTHROUGH */ ELSE(':') case '=': MAYBE_PROLOG -- 2.20.1