diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-10-14 10:56:48 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-10-14 10:56:48 +0200 |
commit | 0aa93a6d31a45d8df2d8516567b98967ce04f183 (patch) | |
tree | 7e1942650512f1994ca56c1eba245973240d4b71 /source/luametatex/source/tex/texconditional.h | |
parent | c161b7d6fe142231346cc1844e6e27c0ab7718c1 (diff) | |
download | context-0aa93a6d31a45d8df2d8516567b98967ce04f183.tar.gz |
2022-10-14 10:15:00
Diffstat (limited to 'source/luametatex/source/tex/texconditional.h')
-rw-r--r-- | source/luametatex/source/tex/texconditional.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/source/luametatex/source/tex/texconditional.h b/source/luametatex/source/tex/texconditional.h index f3de5dcdb..a0c22cd38 100644 --- a/source/luametatex/source/tex/texconditional.h +++ b/source/luametatex/source/tex/texconditional.h @@ -45,14 +45,19 @@ typedef enum if_test_codes { or_else_code, /*tex |\orelse| */ or_unless_code, /*tex |\orunless| */ - /*tex Here come the \if... codes: */ + /*tex + Here come the \if... codes. Some are just there to minimize tracing and are not faster, + like |\ifzerodim| (we can use |\ifcase| instead but not with |\unless|). + */ if_char_code, /*tex |\if| */ if_cat_code, /*tex |\ifcat| */ - if_abs_int_code, /*tex |\ifabsnum| */ if_int_code, /*tex |\ifnum| */ - if_abs_dim_code, /*tex |\ifabsdim| */ + if_abs_int_code, /*tex |\ifabsnum| */ + if_zero_int_code, /*tex |\ifzeronum|*/ if_dim_code, /*tex |\ifdim| */ + if_abs_dim_code, /*tex |\ifabsdim| */ + if_zero_dim_code, /*tex |\ifzerodim| */ if_odd_code, /*tex |\ifodd| */ if_vmode_code, /*tex |\ifvmode| */ if_hmode_code, /*tex |\ifhmode| */ @@ -93,7 +98,7 @@ typedef enum if_test_codes { if_has_toks_code, /*tex |\ifhastoks| */ if_has_xtoks_code, /*tex |\ifhasxtoks| */ if_has_char_code, /*tex |\ifhaschar| */ - if_insert_code /*tex |\ifinsert| */ + if_insert_code, /*tex |\ifinsert| */ // if_bitwise_and_code, /*tex |\ifbitwiseand| */ } if_test_codes; |