Support positional arguments
[anna.git] / include / anna / core / util / MultiRangeExpression.hpp
index ab3273c..15b949c 100644 (file)
@@ -113,10 +113,13 @@ 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;
     }
+
     refresh();
   }
 };