diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-03 12:15:07 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-03 12:55:54 +0100 |
commit | 404771d0ec11f26a0b631018719e2918a049455b (patch) | |
tree | d7f2bed62c67b05e01095865056634db0f9b6be7 /apt-pkg/cachefilter-patterns.h | |
parent | 11a40ab11f72f85e905bdba4d3274870fbcaeaee (diff) |
patterns: test for empty terms, reject them
Diffstat (limited to 'apt-pkg/cachefilter-patterns.h')
-rw-r--r-- | apt-pkg/cachefilter-patterns.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/cachefilter-patterns.h b/apt-pkg/cachefilter-patterns.h index e79702af8..4eeb68594 100644 --- a/apt-pkg/cachefilter-patterns.h +++ b/apt-pkg/cachefilter-patterns.h @@ -92,9 +92,9 @@ struct PatternTreeParser /// There may not be anything before or after the pattern, except for /// whitespace. std::unique_ptr<Node> parseTop(); + std::unique_ptr<Node> parse(); // public for test cases only private: - std::unique_ptr<Node> parse(); std::unique_ptr<Node> parseOr(); std::unique_ptr<Node> parseAnd(); std::unique_ptr<Node> parseUnary(); |