mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Fix Windows build.
This commit is contained in:
@@ -15,13 +15,8 @@ namespace EE { namespace UI { namespace Doc {
|
||||
|
||||
struct EE_API SyntaxToken {
|
||||
std::string type;
|
||||
std::unique_ptr<std::string> text; // text is optional and must be requested explicitly
|
||||
std::string text; // text is optional and must be requested explicitly
|
||||
size_t len{ 0 };
|
||||
|
||||
SyntaxToken( const std::string& _type, const std::string& _text, const size_t _len ) :
|
||||
type( _type ),
|
||||
text( _text.empty() ? nullptr : std::make_unique<std::string>( _text ) ),
|
||||
len( _len ) {}
|
||||
};
|
||||
|
||||
#define SYNTAX_TOKENIZER_STATE_NONE ( 0 )
|
||||
|
||||
Reference in New Issue
Block a user