mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-26 14:21:49 +00:00
Add keywords to header lexer of zcg cpp
This commit is contained in:
@ -1,10 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
#include "HeaderParserValue.h"
|
||||
#include "Parsing/AbstractLexer.h"
|
||||
|
||||
class HeaderLexer final : public AbstractLexer<HeaderParserValue>
|
||||
{
|
||||
std::unordered_map<std::string, HeaderParserValueType> m_keywords;
|
||||
|
||||
void PrepareKeywords();
|
||||
|
||||
protected:
|
||||
HeaderParserValue GetNextToken() override;
|
||||
|
||||
|
Reference in New Issue
Block a user