Skip to content
Snippets Groups Projects
Commit 08858e6b authored by Georgy Popkov's avatar Georgy Popkov
Browse files

errors fixed

parent 7de4241a
Branches master
No related merge requests found
......@@ -13,10 +13,10 @@ add_library(vec_filling STATIC ${SOURCE_LIB})
add_executable(main ${SOURCE_EXE})
set(PARCER_LIB parcer.cpp)
set(PARSER_LIB parser.hpp)
add_library(parcer STATIC ${PARCER_LIB})
add_library(parser STATIC ${PARSER_LIB})
target_link_libraries(parcer vec_filling)
target_link_libraries(parser vec_filling)
target_link_libraries(main parcer)
target_link_libraries(main parser)
(~ true) EU t
R - Y < 1 & i EU ~ G = 0
......@@ -5,7 +5,7 @@
#include <vector>
#include <fstream>
#include "parcer.cpp"
#include "parser.hpp"
using namespace std;
using namespace BOOST_SPIRIT_CLASSIC_NS;
......@@ -17,7 +17,7 @@ extern vector<pair<string, type>> v;
int main()
{
ifstream form("formula.txt");
tctl_parcer calc;
tctl_parser calc;
string str;
while (getline(form, str))
{
......
......@@ -6,11 +6,11 @@
using namespace boost::spirit::classic;
using namespace filling;
struct tctl_parcer : public grammar<tctl_parcer>
struct tctl_parser : public grammar<tctl_parser>
{
template <typename ScannerT>
struct definition {
definition(tctl_parcer const&)
definition(tctl_parser const&)
{
iteration = (
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment