diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-01-15 18:40:19 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-15 18:40:19 +0100 |
commit | 6503fdf2aab98ce36571784e4ef7b9ac697ae8e3 (patch) | |
tree | 0dc678c33609bb6f65faaf7694bbd42a7027e967 /searx/engines/searchcode_code.py | |
parent | a61a96d975916da14cae28040dcaa527d8599b75 (diff) | |
download | searxng-6503fdf2aab98ce36571784e4ef7b9ac697ae8e3.tar.gz searxng-6503fdf2aab98ce36571784e4ef7b9ac697ae8e3.zip |
[enh] add cpp language rewrite rule
Diffstat (limited to 'searx/engines/searchcode_code.py')
-rw-r--r-- | searx/engines/searchcode_code.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/engines/searchcode_code.py b/searx/engines/searchcode_code.py index c71832f46..655818da2 100644 --- a/searx/engines/searchcode_code.py +++ b/searx/engines/searchcode_code.py @@ -23,7 +23,8 @@ search_url = url+'api/codesearch_I/?{query}&p={pageno}' # special code-endings which are not recognised by the file ending code_endings = {'cs': 'c#', 'h': 'c', - 'hpp': 'cpp'} + 'hpp': 'cpp', + 'cxx': 'cpp'} # do search-request |