mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
LibGUI: Handle '#' comments in INILexer
They are supported by LibCore's ConfigFile but were not higlighted.
This commit is contained in:
parent
3f2b70382e
commit
18d489faec
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ Vector<IniToken> IniLexer::lex()
|
|||
continue;
|
||||
}
|
||||
|
||||
// ;Comment
|
||||
if (ch == ';') {
|
||||
// ;Comment or #Comment
|
||||
if (ch == ';' || ch == '#') {
|
||||
begin_token();
|
||||
while (peek() && peek() != '\n')
|
||||
consume();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue