Code

Added tests for sdb_fe_parse_expr() and fixed the implementation.
authorSebastian Harl <sh@tokkee.org>
Fri, 17 Oct 2014 08:43:45 +0000 (10:43 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 17 Oct 2014 08:43:45 +0000 (10:43 +0200)
commit7e07aa1459bac0d75f45325bd0a90bb06e481faf
tree2db18044c46b7c0e1949db3e5a84074372e0ef57
parent4b45546f0aa53f9dac7c91a8149c19e118843195
Added tests for sdb_fe_parse_expr() and fixed the implementation.

That is, fixed a typo preventing the parsed expression from being returned and
fixed memory leaks in the matcher and expression parsers.
src/frontend/grammar.y
src/frontend/parser.c
t/unit/frontend/parser_test.c