C++: Permit ':' in models-as-data namespaces.

This commit is contained in:
Geoffrey White
2024-06-06 12:53:00 +01:00
parent 894497218d
commit 7aec488d8a
2 changed files with 1 additions and 4 deletions

View File

@@ -330,7 +330,7 @@ module CsvValidation {
or
summaryModel(namespace, type, _, name, signature, ext, _, _, _, _) and pred = "summary"
|
not namespace.regexpMatch("[a-zA-Z0-9_\\.]*") and
not namespace.regexpMatch("[a-zA-Z0-9_\\.:]*") and
result = "Dubious namespace \"" + namespace + "\" in " + pred + " model."
or
not type.regexpMatch("[a-zA-Z0-9_<>,\\+]*") and

View File

@@ -1,3 +0,0 @@
| Dubious namespace "boost::asio" in sink model. |
| Dubious namespace "boost::asio" in source model. |
| Dubious namespace "boost::asio" in summary model. |