mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-03 21:52:39 +03:00
Epic last minute formatting fix
This commit is contained in:
parent
05b42b2428
commit
eb33edf9ee
@ -269,22 +269,22 @@ refresh:
|
|||||||
// syntax highlighting
|
// syntax highlighting
|
||||||
if (syntax_highlighting_enabled) {
|
if (syntax_highlighting_enabled) {
|
||||||
switch (token_type) {
|
switch (token_type) {
|
||||||
case TOK_KEY:
|
case TOK_KEY:
|
||||||
print("\e[36m%c\e[0m", buffer[i]);
|
print("\e[36m%c\e[0m", buffer[i]);
|
||||||
break;
|
break;
|
||||||
case TOK_EQUALS:
|
case TOK_EQUALS:
|
||||||
print("\e[32m%c\e[0m", buffer[i]);
|
print("\e[32m%c\e[0m", buffer[i]);
|
||||||
break;
|
break;
|
||||||
case TOK_VALUE:
|
case TOK_VALUE:
|
||||||
print("\e[39m%c\e[0m", buffer[i]);
|
print("\e[39m%c\e[0m", buffer[i]);
|
||||||
break;
|
break;
|
||||||
case TOK_BADKEY:
|
case TOK_BADKEY:
|
||||||
print("\e[31m%c\e[0m", buffer[i]);
|
print("\e[31m%c\e[0m", buffer[i]);
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
} else {
|
|
||||||
print("%c", buffer[i]);
|
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
print("%c", buffer[i]);
|
||||||
|
}
|
||||||
|
|
||||||
// switch to token type 2 after equals sign
|
// switch to token type 2 after equals sign
|
||||||
if (token_type == TOK_EQUALS) token_type = TOK_VALUE;
|
if (token_type == TOK_EQUALS) token_type = TOK_VALUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user