git.droids-corp.org
/
protos
/
libecoli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
re_lex: attach attribute to strings in vec
[protos/libecoli.git]
/
libecoli
/
ecoli_node_cmd.c
diff --git
a/libecoli/ecoli_node_cmd.c
b/libecoli/ecoli_node_cmd.c
index
c61b759
..
3b56084
100644
(file)
--- a/
libecoli/ecoli_node_cmd.c
+++ b/
libecoli/ecoli_node_cmd.c
@@
-329,19
+329,19
@@
ec_node_cmd_build_parser(struct ec_node *expr)
if (lex == NULL)
goto fail;
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;
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;
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;
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;
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;
if (ret < 0)
goto fail;