diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-23 16:20:31 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-23 16:20:31 +0200 |
commit | fe26ce447155c88f13be1846b36de013e91c13a4 (patch) | |
tree | 488c5f1d3e2c0d1b2b0ae514f223a655f226c58f /frontend/json/jsonparse.h | |
parent | 80fbf7e4eb1a3bba4895dd240248b5a3b5a49dbb (diff) | |
download | nextpnr-fe26ce447155c88f13be1846b36de013e91c13a4.tar.gz nextpnr-fe26ce447155c88f13be1846b36de013e91c13a4.tar.bz2 nextpnr-fe26ce447155c88f13be1846b36de013e91c13a4.zip |
Move json parser from frontend/json/ to json/
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'frontend/json/jsonparse.h')
-rw-r--r-- | frontend/json/jsonparse.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/frontend/json/jsonparse.h b/frontend/json/jsonparse.h deleted file mode 100644 index fe71444f..00000000 --- a/frontend/json/jsonparse.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * nextpnr -- Next Generation Place and Route - * - * Copyright (C) 2018 SymbioticEDA - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - */ - -#ifndef JSON_PARSER -#define JSON_PARSER - -#include <istream> -#include <string> -#include "nextpnr.h" - -NEXTPNR_NAMESPACE_BEGIN - -extern bool parse_json_file(std::istream &, std::string &, Context *); - -NEXTPNR_NAMESPACE_END - -#endif |