Remove StandardComponents.hpp.
This commit is contained in:
parent
e356ceab0c
commit
937d393aa5
|
@ -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}")
|
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CMAKE_PROJECT_VERSION}-${TIME}")
|
||||||
|
|
||||||
include_directories(${CMAKE_CURRENT_LIST_DIR})
|
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}")
|
target_compile_definitions(ybcon PRIVATE YBCON_VERSION="${CODENAME} ${PROJECT_VERSION}")
|
||||||
|
|
||||||
# lpkg = linux package, wpkg = windows package
|
# lpkg = linux package, wpkg = windows package
|
||||||
|
|
|
@ -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
|
|
|
@ -1,6 +1,5 @@
|
||||||
#include "../headers/lex.hpp"
|
#include "../headers/lex.hpp"
|
||||||
#include "../headers/parsing/ParseComponents.hpp"
|
#include "../headers/parsing/ParseComponents.hpp"
|
||||||
#include "../headers/parsing/StandardComponents.hpp"
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue