Removed constants namespace

This commit is contained in:
Justin Scofield
2022-07-19 15:37:56 +00:00
parent 3be2f67003
commit 9f760d922a
7 changed files with 71 additions and 107 deletions

View File

@@ -8,10 +8,10 @@ namespace widgets {
TextEditor::LanguageDefinition GetAssemblyLanguageDef() {
TextEditor::LanguageDefinition language_65816;
for (auto &k : app::core::constants::kKeywords)
for (auto &k : app::core::kKeywords)
language_65816.mKeywords.emplace(k);
for (auto &k : app::core::constants::kIdentifiers) {
for (auto &k : app::core::kIdentifiers) {
TextEditor::Identifier id;
id.mDeclaration = "Built-in function";
language_65816.mIdentifiers.insert(std::make_pair(std::string(k), id));