1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:47:34 +00:00

LibCMake: Treat block, endblock and return as control keywords

I missed these before because they weren't mentioned on the language
description page of the CMake manual.
This commit is contained in:
Sam Atkins 2023-03-05 11:55:08 +00:00 committed by Andreas Kling
parent ca2b030336
commit 631927470a
2 changed files with 9 additions and 0 deletions

View file

@ -33,10 +33,13 @@ enum class ControlKeywordType {
EndWhile,
Break,
Continue,
Return,
Macro,
EndMacro,
Function,
EndFunction,
Block,
EndBlock,
};
struct Token {