diff options
author | Hans Hagen <pragma@wxs.nl> | 2023-01-04 12:09:26 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2023-01-04 12:09:26 +0100 |
commit | 705b807c950a697d3c8be592c452a6fb3e561c7e (patch) | |
tree | 82904661aca945d008f07deb568ee7f05b55df4f /source/luametatex/source/tex/textypes.h | |
parent | 62d980c99a617ff260f29ac2d3bdb084049f25b0 (diff) | |
download | context-705b807c950a697d3c8be592c452a6fb3e561c7e.tar.gz |
2023-01-04 11:35:00
Diffstat (limited to 'source/luametatex/source/tex/textypes.h')
-rw-r--r-- | source/luametatex/source/tex/textypes.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/source/luametatex/source/tex/textypes.h b/source/luametatex/source/tex/textypes.h index 05324db83..2ca761e59 100644 --- a/source/luametatex/source/tex/textypes.h +++ b/source/luametatex/source/tex/textypes.h @@ -416,6 +416,18 @@ typedef union memoryword { void *P; } memoryword; +typedef union tokenword { + union { + halfword info; + halfword val; + struct { + int cmd:8; + int chr:24; + }; + }; + halfword link; +} tokenword; + /*tex These symbolic names will be used in the definitions of tokens and nodes, the core data @@ -636,9 +648,10 @@ can be neglected (no differences on the test suite) because the bottleneck in \C I occasionally test the variants. The last test showed that mode 1 gives a bit larger binary. There is no real difference in performance. -*/ +Well, per end December 2022 we only have the case with modes left but one can always find the old +code in the archive. -# define main_control_mode 1 +*/ /*tex For the moment here. */ |