summaryrefslogtreecommitdiff
path: root/data/c++.m4
diff options
context:
space:
mode:
Diffstat (limited to 'data/c++.m4')
-rw-r--r--data/c++.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/data/c++.m4 b/data/c++.m4
index 22ba5314..7590f08a 100644
--- a/data/c++.m4
+++ b/data/c++.m4
@@ -75,9 +75,9 @@ m4_define([b4_namespace_open],
m4_define([b4_namespace_close],
[b4_user_code([b4_percent_define_get_syncline([[namespace]])
m4_bpatsubst(m4_dquote(m4_bpatsubst(m4_dquote(b4_namespace_ref[ ]),
- [^\(.\)[ ]*\(::\)?\([^][:]\|:[^][:]\)*],
+ [^\(.\)[ ]*\(::\)?\([^][:]\|:[^:]\)*],
[\1])),
- [::\([^][:]\|:[^][:]\)*], [} ])[} // ]b4_namespace_ref])])
+ [::\([^][:]\|:[^:]\)*], [} ])[} // ]b4_namespace_ref])])
# b4_token_enums(LIST-OF-PAIRS-TOKEN-NAME-TOKEN-NUMBER)