mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-02-05 15:18:45 +00:00
update parser (#5)
This commit is contained in:
@@ -12,10 +12,13 @@ add_executable(sdv_packager
|
||||
"../../sdv_services/core/toml_parser/parser_toml.cpp"
|
||||
"../../sdv_services/core/toml_parser/lexer_toml.h"
|
||||
"../../sdv_services/core/toml_parser/lexer_toml.cpp"
|
||||
"../../sdv_services/core/toml_parser/lexer_toml_token.cpp"
|
||||
"../../sdv_services/core/toml_parser/parser_node_toml.h"
|
||||
"../../sdv_services/core/toml_parser/parser_node_toml.cpp"
|
||||
"../../sdv_services/core/toml_parser/character_reader_utf_8.h"
|
||||
"../../sdv_services/core/toml_parser/character_reader_utf_8.cpp"
|
||||
"../../sdv_services/core/toml_parser/miscellaneous.h"
|
||||
"../../sdv_services/core/toml_parser/miscellaneous.cpp"
|
||||
"../../sdv_services/core/toml_parser/exception.h"
|
||||
"environment.cpp"
|
||||
"environment.h"
|
||||
|
||||
@@ -929,7 +929,7 @@ bool CSdvPackagerEnvironment::ProcessCommandLine(const std::vector<std::string>&
|
||||
}
|
||||
else
|
||||
{
|
||||
// Check whether preceeded by at least one command
|
||||
// Check whether preceded by at least one command
|
||||
if (!(m_uiShowFlags & 0x00ff))
|
||||
{
|
||||
m_nError = CMDLN_MISSING_SHOW_COMMAND;
|
||||
|
||||
@@ -33,6 +33,9 @@ inline bool iequals(const std::string& rssLeft, const std::string& rssRight)
|
||||
return std::equal(rssLeft.begin(), rssLeft.end(), rssRight.begin(), rssRight.end(), ichar_equals);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Environment access class.
|
||||
*/
|
||||
class CSdvPackagerEnvironment
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user