diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2022-02-02 21:32:32 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-07 18:39:50 +0100 |
commit | 8b39074078f2f7366aa2589da655a654f3be5f14 (patch) | |
tree | 364cc3f5ab264a98d8bc6786a97f8b43e2080244 /Userland/Libraries/LibGUI | |
parent | 4931c88b1375b559444de06bf1836a3fed308635 (diff) | |
download | serenity-8b39074078f2f7366aa2589da655a654f3be5f14.zip |
Userland: Undefine FOR_EACH_TOKEN_TYPE everywhere
This was causing some macro redefinition errors after the headers ended
up in the same file through some includes. The simple fix is to undefine
the macro after use.
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r-- | Userland/Libraries/LibGUI/GML/Lexer.h | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibGUI/GitCommitLexer.h | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibGUI/INILexer.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/GML/Lexer.h b/Userland/Libraries/LibGUI/GML/Lexer.h index bdaa6d7c9e..f50c2eb894 100644 --- a/Userland/Libraries/LibGUI/GML/Lexer.h +++ b/Userland/Libraries/LibGUI/GML/Lexer.h @@ -67,3 +67,5 @@ private: }; } + +#undef FOR_EACH_TOKEN_TYPE diff --git a/Userland/Libraries/LibGUI/GitCommitLexer.h b/Userland/Libraries/LibGUI/GitCommitLexer.h index 52dd40badb..a9925cdb41 100644 --- a/Userland/Libraries/LibGUI/GitCommitLexer.h +++ b/Userland/Libraries/LibGUI/GitCommitLexer.h @@ -60,3 +60,5 @@ private: }; } + +#undef FOR_EACH_TOKEN_TYPE diff --git a/Userland/Libraries/LibGUI/INILexer.h b/Userland/Libraries/LibGUI/INILexer.h index 4f187f02aa..4509044fdd 100644 --- a/Userland/Libraries/LibGUI/INILexer.h +++ b/Userland/Libraries/LibGUI/INILexer.h @@ -66,3 +66,5 @@ private: }; } + +#undef FOR_EACH_TOKEN_TYPE |