make category definitions protected

This commit is contained in:
Maximilian Keßler 2022-01-11 22:16:31 +01:00
parent 1966cb5d2b
commit 613e16998b

View File

@ -46,7 +46,7 @@ __HEADER__(Declaring of math symbols with automatic indexing)
\bool_gset_true:c { used_#2 } \bool_gset_true:c { used_#2 }
} }
} }
\exp_args:Nc\gdef{#2} \expandafter\protected\expandafter\gdef\csname#2\endcsname
{ {
\use:c { symbol_#2: } \use:c { symbol_#2: }
} }