Browse Source

Fixed strange bug in eptParser

master
Macoy Madson 6 years ago
parent
commit
4d2bf27809
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      ept/eptParser.cpp

+ 10
- 0
ept/eptParser.cpp View File

@ -408,6 +408,16 @@ int attrToArrayLength(const std::string& attr)
}
return length;
}
/*int main()
{
std::string arr = "{2, 50}";
std::cout << "Length: " << attrToArrayLength(arr) << "\n";
for (int i = 0; i < attrToArrayLength(arr); ++i)
{
std::cout << attrToArrayInt(arr, i) << "\n";
}
}*/
std::string floatToAttr(float in)
{
std::ostringstream s;


Loading…
Cancel
Save