]> git.droids-corp.org - protos/libecoli.git/blobdiff - libecoli/ecoli_node_cmd.c
re_lex: attach attribute to strings in vec
[protos/libecoli.git] / libecoli / ecoli_node_cmd.c
index c61b75922f1c3c79b479f6d84cfb9f875782a77c..3b560845057aa5ccc84b5b6434990bdf11016235 100644 (file)
@@ -329,19 +329,19 @@ ec_node_cmd_build_parser(struct ec_node *expr)
        if (lex == NULL)
                goto fail;
 
-       ret = ec_node_re_lex_add(lex, "[a-zA-Z0-9]+", 1);
+       ret = ec_node_re_lex_add(lex, "[a-zA-Z0-9]+", 1, NULL);
        if (ret < 0)
                goto fail;
-       ret = ec_node_re_lex_add(lex, "[*|,()]", 1);
+       ret = ec_node_re_lex_add(lex, "[*|,()]", 1, NULL);
        if (ret < 0)
                goto fail;
-       ret = ec_node_re_lex_add(lex, "\\[", 1);
+       ret = ec_node_re_lex_add(lex, "\\[", 1, NULL);
        if (ret < 0)
                goto fail;
-       ret = ec_node_re_lex_add(lex, "\\]", 1);
+       ret = ec_node_re_lex_add(lex, "\\]", 1, NULL);
        if (ret < 0)
                goto fail;
-       ret = ec_node_re_lex_add(lex, "[         ]+", 0);
+       ret = ec_node_re_lex_add(lex, "[         ]+", 0, NULL);
        if (ret < 0)
                goto fail;