mirror of
https://github.com/fedapo/vb6-parser.git
synced 2025-12-18 08:54:36 +03:00
First commit
This commit is contained in:
23
src/vb6_parser_helper.cpp
Normal file
23
src/vb6_parser_helper.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
//: vb6_parser_helper.cpp
|
||||
|
||||
// vb6_parser
|
||||
// Copyright (c) 2022 Federico Aponte
|
||||
// This code is licensed under GNU Software License (see LICENSE.txt for details)
|
||||
|
||||
#include <boost/spirit/home/x3/version.hpp>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
namespace vb6_grammar {
|
||||
|
||||
std::string getParserInfo()
|
||||
{
|
||||
using namespace std;
|
||||
ostringstream os;
|
||||
os << "SPIRIT_X3_VERSION: " << showbase << hex << SPIRIT_X3_VERSION
|
||||
<< noshowbase << dec << '\n'
|
||||
<< "VB6_PARSER_VERSION: 0.1" << '\n';
|
||||
return os.str();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user