Introduce kaleidoscope::ranges::FIRST & ::SAFE_START

As the enum is already namespaced, there is no need to include the
`KALEIDOSCOPE_` prefix in the first & safe start values. Do keep the prefixed
variant too, for the sake of backward compatibility.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 7 years ago
parent 072f7a3896
commit 155b7639ad

@ -22,7 +22,8 @@ namespace kaleidoscope {
namespace ranges {
enum {
KALEIDOSCOPE_FIRST = 0xc000,
FIRST = 0xc000,
KALEIDOSCOPE_FIRST = FIRST,
OS_FIRST,
OSM_FIRST = OS_FIRST,
OSM_LAST = OSM_FIRST + 7,
@ -46,7 +47,8 @@ enum {
STENO_FIRST,
STENO_LAST = STENO_FIRST + 42,
KALEIDOSCOPE_SAFE_START,
SAFE_START,
KALEIDOSCOPE_SAFE_START = SAFE_START
};
}

Loading…
Cancel
Save