Remove StandardComponents.hpp.

This commit is contained in:
Username404-59 2021-04-25 16:02:28 +02:00
parent e356ceab0c
commit 937d393aa5
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
3 changed files with 1 additions and 17 deletions

View File

@ -79,7 +79,7 @@ set(CPACK_PACKAGE_INSTALL_DIRECTORY "Yerbacon ${CMAKE_PROJECT_VERSION_MAJOR}.${C
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CMAKE_PROJECT_VERSION}-${TIME}")
include_directories(${CMAKE_CURRENT_LIST_DIR})
add_executable(${EXENAME} src/main.cpp ${CMAKE_CURRENT_BINARY_DIR}/processed/${PROJECT_NAME}.rc src/parser/MainParse.cpp src/transpiler/MainTranspile.cpp src/etc/filefuncs.cpp src/etc/lexer.cpp src/headers/lex.hpp src/headers/misc.hpp src/headers/parsing/ParseComponents.hpp src/headers/parsing/StandardComponents.hpp)
add_executable(${EXENAME} src/main.cpp ${CMAKE_CURRENT_BINARY_DIR}/processed/${PROJECT_NAME}.rc src/parser/MainParse.cpp src/transpiler/MainTranspile.cpp src/etc/filefuncs.cpp src/etc/lexer.cpp src/headers/lex.hpp src/headers/misc.hpp src/headers/parsing/ParseComponents.hpp)
target_compile_definitions(ybcon PRIVATE YBCON_VERSION="${CODENAME} ${PROJECT_VERSION}")
# lpkg = linux package, wpkg = windows package

View File

@ -1,15 +0,0 @@
#ifndef YERBACON_STANDARDCOMPONENTS_HPP
#define YERBACON_STANDARDCOMPONENTS_HPP
#include "ParseComponents.hpp"
namespace StdComponents {
namespace types {
struct String: public ParseComponent {
string content;
explicit String(const string& str) { content = str; }
String() = default;
};
}
}
#endif //YERBACON_STANDARDCOMPONENTS_HPP

View File

@ -1,6 +1,5 @@
#include "../headers/lex.hpp"
#include "../headers/parsing/ParseComponents.hpp"
#include "../headers/parsing/StandardComponents.hpp"
using namespace std;