make PROPER_FILLS customizable
This commit is contained in:
parent
1b1cda8a90
commit
9371fa0fbc
20
src/h.h
20
src/h.h
@ -9,12 +9,6 @@
|
|||||||
#ifndef CHECK_VALID
|
#ifndef CHECK_VALID
|
||||||
#define CHECK_VALID 1
|
#define CHECK_VALID 1
|
||||||
#endif
|
#endif
|
||||||
#ifndef EACH_FILLS
|
|
||||||
#define EACH_FILLS 0
|
|
||||||
#endif
|
|
||||||
#ifndef SFNS_FILLS
|
|
||||||
#define SFNS_FILLS 1
|
|
||||||
#endif
|
|
||||||
#ifndef MM
|
#ifndef MM
|
||||||
#define MM 1
|
#define MM 1
|
||||||
#endif
|
#endif
|
||||||
@ -52,12 +46,14 @@
|
|||||||
#ifndef SEMANTIC_CATCH
|
#ifndef SEMANTIC_CATCH
|
||||||
#define SEMANTIC_CATCH USE_SETJMP
|
#define SEMANTIC_CATCH USE_SETJMP
|
||||||
#endif
|
#endif
|
||||||
#if SEMANTIC_CATCH
|
#ifndef EACH_FILLS
|
||||||
#define PROPER_FILLS (EACH_FILLS & SFNS_FILLS)
|
#define EACH_FILLS 0 // must stay 0 if !SEMANTIC_CATCH
|
||||||
#else
|
#endif
|
||||||
#undef EACH_FILLS
|
#ifndef SFNS_FILLS
|
||||||
#define EACH_FILLS 0
|
#define SFNS_FILLS 1
|
||||||
#define PROPER_FILLS 0
|
#endif
|
||||||
|
#ifndef PROPER_FILLS
|
||||||
|
#define PROPER_FILLS (SEMANTIC_CATCH & EACH_FILLS & SFNS_FILLS)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ALL_R0 || ALL_R1
|
#if ALL_R0 || ALL_R1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user