mirror of
https://github.com/hyprwm/hyprlang.git
synced 2024-12-22 18:09:49 +01:00
5b175c9704
* config.cpp: fix parsing invalid hex Instead of crashing on an invalid hex, return an error. * config: return an error on an invalid hex value * cleanup * style: add references for catching exceptions * style: ignore `std::out_of_range`
15 lines
280 B
Text
15 lines
280 B
Text
# Every number/color in this file is invalid
|
|
|
|
invalidHex = 0x1Q
|
|
emptyHex = 0x
|
|
hugeHex = 0xFFFFFFFFFFFFFFFF
|
|
|
|
invalidInt = 1A
|
|
emptyInt =
|
|
|
|
invalidColor = rgb(ABCDEQ)
|
|
invalidFirstCharColor = rgb(QABCDE)
|
|
|
|
invalidColorAlpha = rgba(9ABCDEFQ)
|
|
invalidFirstCharColorAlpha = rgba(Q9ABCDEF)
|
|
|