Fix copyright notices and includes

This commit is contained in:
2024-07-03 16:45:03 +01:00
parent 15d39dcfe7
commit 65ce50f620
5 changed files with 44 additions and 24 deletions

View File

@@ -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>

View File

@@ -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

View File

@@ -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");

View File

@@ -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

View File

@@ -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;