From 129b2de901ccfaa01f7c4a520c91787d83291ec3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 24 Jun 2010 00:30:18 -0400 Subject: "only" now a report query modifier for --only This fits with "show" and "bold", etc. --- src/query.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/query.h') diff --git a/src/query.h b/src/query.h index 5a4651a0..b5b3b0fc 100644 --- a/src/query.h +++ b/src/query.h @@ -90,6 +90,7 @@ public: TOK_EXPR, TOK_SHOW, + TOK_ONLY, TOK_BOLD, TOK_FOR, TOK_SINCE, @@ -144,6 +145,7 @@ public: case TOK_META: return "TOK_META"; case TOK_EXPR: return "TOK_EXPR"; case TOK_SHOW: return "TOK_SHOW"; + case TOK_ONLY: return "TOK_ONLY"; case TOK_BOLD: return "TOK_BOLD"; case TOK_FOR: return "TOK_FOR"; case TOK_SINCE: return "TOK_SINCE"; @@ -170,6 +172,7 @@ public: case TOK_META: return "meta"; case TOK_EXPR: return "expr"; case TOK_SHOW: return "show"; + case TOK_ONLY: return "only"; case TOK_BOLD: return "bold"; case TOK_FOR: return "for"; case TOK_SINCE: return "since"; @@ -234,6 +237,7 @@ public: enum kind_t { QUERY_LIMIT, QUERY_SHOW, + QUERY_ONLY, QUERY_BOLD, QUERY_FOR }; -- cgit v1.2.3