Fix copyright notices and includes
This commit is contained in:
14
src/base.cpp
14
src/base.cpp
@@ -1,16 +1,20 @@
|
|||||||
/* Copyright (C) 2024 Aryadev Chavali
|
/* Copyright (C) 2024 Aryadev Chavali
|
||||||
|
|
||||||
* You may distribute and modify this code under the terms of the
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* GPLv2 license. You should have received a copy of the GPLv2
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
* license with this file. If not, please write to:
|
* FOR A PARTICULAR PURPOSE. See the GNU General Public License Version 2 for
|
||||||
* aryadev@aryadevchavali.com.
|
* details.
|
||||||
|
|
||||||
|
* You may distribute and modify this code under the terms of the GNU General
|
||||||
|
* Public License Version 2, which you should have received a copy of along with
|
||||||
|
* this program. If not, please go to <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
* Created: 2024-04-14
|
* Created: 2024-04-14
|
||||||
* Author: Aryadev Chavali
|
* Author: Aryadev Chavali
|
||||||
* Description:
|
* Description:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "./base.hpp"
|
#include <src/base.hpp>
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
|
|||||||
12
src/base.hpp
12
src/base.hpp
@@ -1,9 +1,13 @@
|
|||||||
/* Copyright (C) 2024 Aryadev Chavali
|
/* Copyright (C) 2024 Aryadev Chavali
|
||||||
|
|
||||||
* You may distribute and modify this code under the terms of the
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* GPLv2 license. You should have received a copy of the GPLv2
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
* license with this file. If not, please write to:
|
* FOR A PARTICULAR PURPOSE. See the GNU General Public License Version 2 for
|
||||||
* aryadev@aryadevchavali.com.
|
* details.
|
||||||
|
|
||||||
|
* You may distribute and modify this code under the terms of the GNU General
|
||||||
|
* Public License Version 2, which you should have received a copy of along with
|
||||||
|
* this program. If not, please go to <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
* Created: 2024-04-14
|
* Created: 2024-04-14
|
||||||
* Author: Aryadev Chavali
|
* Author: Aryadev Chavali
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
/* Copyright (C) 2024 Aryadev Chavali
|
/* Copyright (C) 2024 Aryadev Chavali
|
||||||
|
|
||||||
* You may distribute and modify this code under the terms of the
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* GPLv2 license. You should have received a copy of the GPLv2
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
* license with this file. If not, please write to:
|
* FOR A PARTICULAR PURPOSE. See the GNU General Public License Version 2 for
|
||||||
* aryadev@aryadevchavali.com.
|
* details.
|
||||||
|
|
||||||
|
* You may distribute and modify this code under the terms of the GNU General
|
||||||
|
* Public License Version 2, which you should have received a copy of along with
|
||||||
|
* this program. If not, please go to <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
* Created: 2024-04-14
|
* Created: 2024-04-14
|
||||||
* Author: Aryadev Chavali
|
* Author: Aryadev Chavali
|
||||||
@@ -18,7 +22,7 @@ extern "C"
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "./lexer.hpp"
|
#include <src/lexer.hpp>
|
||||||
|
|
||||||
static_assert(NUMBER_OF_OPCODES == 99, "ERROR: Lexer is out of date");
|
static_assert(NUMBER_OF_OPCODES == 99, "ERROR: Lexer is out of date");
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
/* Copyright (C) 2024 Aryadev Chavali
|
/* Copyright (C) 2024 Aryadev Chavali
|
||||||
|
|
||||||
* You may distribute and modify this code under the terms of the
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* GPLv2 license. You should have received a copy of the GPLv2
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
* license with this file. If not, please write to:
|
* FOR A PARTICULAR PURPOSE. See the GNU General Public License Version 2 for
|
||||||
* aryadev@aryadevchavali.com.
|
* details.
|
||||||
|
|
||||||
|
* You may distribute and modify this code under the terms of the GNU General
|
||||||
|
* Public License Version 2, which you should have received a copy of along with
|
||||||
|
* this program. If not, please go to <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
* Created: 2024-04-14
|
* Created: 2024-04-14
|
||||||
* Author: Aryadev Chavali
|
* Author: Aryadev Chavali
|
||||||
|
|||||||
16
src/main.cpp
16
src/main.cpp
@@ -1,9 +1,13 @@
|
|||||||
/* Copyright (C) 2024 Aryadev Chavali
|
/* Copyright (C) 2024 Aryadev Chavali
|
||||||
|
|
||||||
* You may distribute and modify this code under the terms of the
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* GPLv2 license. You should have received a copy of the GPLv2
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
* license with this file. If not, please write to:
|
* FOR A PARTICULAR PURPOSE. See the GNU General Public License Version 2 for
|
||||||
* aryadev@aryadevchavali.com.
|
* details.
|
||||||
|
|
||||||
|
* You may distribute and modify this code under the terms of the GNU General
|
||||||
|
* Public License Version 2, which you should have received a copy of along with
|
||||||
|
* this program. If not, please go to <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
* Created: 2024-04-14
|
* Created: 2024-04-14
|
||||||
* Author: Aryadev Chavali
|
* Author: Aryadev Chavali
|
||||||
@@ -21,8 +25,8 @@ extern "C"
|
|||||||
#include <lib/inst.h>
|
#include <lib/inst.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "./base.hpp"
|
#include <src/base.hpp>
|
||||||
#include "./lexer.hpp"
|
#include <src/lexer.hpp>
|
||||||
|
|
||||||
using std::cout, std::cerr, std::endl;
|
using std::cout, std::cerr, std::endl;
|
||||||
using std::string, std::string_view, std::vector;
|
using std::string, std::string_view, std::vector;
|
||||||
|
|||||||
Reference in New Issue
Block a user