mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Everywhere: Remove all KERNEL #define
s
This commit is contained in:
parent
de99dd2c89
commit
5ca2f4dfd7
Notes:
sideshowbarker
2024-07-16 23:17:55 +09:00
Author: https://github.com/tcl3
Commit: 5ca2f4dfd7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/195
73 changed files with 116 additions and 808 deletions
|
@ -211,11 +211,6 @@ ErrorOr<JsonValue> JsonParser::parse_number()
|
|||
}
|
||||
|
||||
auto fallback_to_double_parse = [&]() -> ErrorOr<JsonValue> {
|
||||
#ifdef KERNEL
|
||||
# error JSONParser is currently not available for the Kernel because it disallows floating point. \
|
||||
If you want to make this KERNEL compatible you can just make this fallback_to_double \
|
||||
function fail with an error in KERNEL mode.
|
||||
#endif
|
||||
// FIXME: Since we know all the characters so far are ascii digits (and one . or e) we could
|
||||
// use that in the floating point parser.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue