Non strict validation. Activate git add in pre-commit hook after astyle.
[anna.git] / include / anna / core / util / MultiRangeExpression.hpp
index a391bb5..15b949c 100644 (file)
@@ -113,7 +113,9 @@ public:
   * @param l Literal to be added
   */
   void addLiteral(const char * l) throw() {
-    if(l) {
+    if(!l) return;
+
+    if(std::string(l) != "") {
       a_literal += ",";
       a_literal += l;
     }