Compare commits
7 Commits
8.0.7
...
2be3bc40e0
| Author | SHA1 | Date | |
|---|---|---|---|
| 2be3bc40e0 | |||
| 7c10c29c33 | |||
| 4c9b294e2b | |||
| 3efc4e3fd8 | |||
| 763e39d435 | |||
| 155e8f078e | |||
| 865840ec0c |
@@ -1299,6 +1299,17 @@ void validateFieldName(const std::string& n)
|
||||
msg<<"Field name \""<<n<<"\" must begin with A-Z, a-z, or '_'";
|
||||
throw std::invalid_argument(msg.str());
|
||||
}
|
||||
/*
|
||||
size_t i = n.find_first_of("\"' ./");
|
||||
if (i != std::string::npos)
|
||||
{
|
||||
std::cerr << "Warning: character '" << n[i] << "' ("
|
||||
<< (unsigned int)(unsigned char)n[i]
|
||||
<< ") in field name \"" << n
|
||||
<< "\" may have undesired side effects." << std::endl;
|
||||
}
|
||||
*/
|
||||
/*
|
||||
for(size_t i=0, N=n.size(); i<N; i++)
|
||||
{
|
||||
char c = n[i];
|
||||
@@ -1317,6 +1328,7 @@ void validateFieldName(const std::string& n)
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
void validateFieldNames(const StringArray& l)
|
||||
|
||||
@@ -768,7 +768,7 @@ static void testSubField()
|
||||
|
||||
MAIN(testPVData)
|
||||
{
|
||||
testPlan(271);
|
||||
testPlan(270);
|
||||
try{
|
||||
fieldCreate = getFieldCreate();
|
||||
pvDataCreate = getPVDataCreate();
|
||||
@@ -777,7 +777,7 @@ MAIN(testPVData)
|
||||
convert = getConvert();
|
||||
testSizes();
|
||||
testCreatePVStructure();
|
||||
testCreatePVStructureWithInvalidName();
|
||||
// testCreatePVStructureWithInvalidName();
|
||||
testPVScalar();
|
||||
testScalarArray();
|
||||
testRequest();
|
||||
|
||||
Reference in New Issue
Block a user