Skip to content

Commit

Permalink
today()
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Jul 21, 2024
1 parent fd5a4e3 commit d25609d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pya2l/if_data_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
#include "antlr4-runtime.h"
#include "ifdata.hpp"


using namespace antlr4;

void unmarshal(const std::stringstream& inbuf);


int main() {
std::ifstream stream;

Expand All @@ -18,6 +22,14 @@ int main() {
}
#endif

std::ifstream aml_stream;
aml_stream.open("C:/csProjects/pyA2L/build/aml_dump.bin");
std::stringstream aml_buffer;

aml_buffer << aml_stream.rdbuf();

unmarshal(aml_buffer);

stream.open("C:\\csProjects\\pyA2L\\pya2l\\examples\\some_if_data.txt");

ANTLRInputStream input(stream);
Expand Down

0 comments on commit d25609d

Please sign in to comment.