author | Sebastian Harl <sh@tokkee.org> | |
Sun, 27 Jul 2014 17:09:01 +0000 (19:09 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 27 Jul 2014 17:09:01 +0000 (19:09 +0200) |
Conflicts:
src/frontend/grammar.y
src/frontend/grammar.y
1 | 2 | |||
---|---|---|---|---|
src/frontend/grammar.y | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/frontend/grammar.y
index 74e28dd837f7e8eb7a819e1a0a4ed2ebda032ffb,a607ee0aba96bd0698147b81e0d441ab55182451..e0d8e7ecc46136b01cb84546ba1d3e11d7fb9e2b
+++ b/src/frontend/grammar.y
;
/*
- * LOOKUP <type> MATCHING <expression>;
- * LOOKUP <type> WHERE <condition>;
++ * LOOKUP <type> MATCHING <condition>;
*
- * Returns detailed information about <type> matching expression.
+ * Returns detailed information about <type> matching condition.
*/
lookup_statement:
- LOOKUP IDENTIFIER MATCHING expression
- LOOKUP IDENTIFIER WHERE condition
++ LOOKUP IDENTIFIER MATCHING condition
{
/* TODO: support other types as well */
if (strcasecmp($2, "hosts")) {