2
0
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:
Jan
2021-02-12 00:38:38 +01:00
parent 87b7921c73
commit fe1f391bcc
5 changed files with 90 additions and 1 deletions

View File

@ -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;