projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91bde90
)
preprocessor: scanning for :: token was missing
author
Matthias Braun
<matze@braunis.de>
Sun, 27 May 2012 22:10:21 +0000
(
00:10
+0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 20 Jun 2012 19:52:09 +0000
(21:52 +0200)
preprocessor.c
patch
|
blob
|
history
diff --git
a/preprocessor.c
b/preprocessor.c
index
e1c5d0e
..
9425292
100644
(file)
--- 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