Skip to content

Commit

Permalink
Clarifying comments
Browse files Browse the repository at this point in the history
  • Loading branch information
brucemiller committed Sep 23, 2024
1 parent 59fbb33 commit aa021e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/LaTeXML/Engine/Base_ParameterTypes.pool.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ DefParameterType('Optional', sub {

# This is a peculiar type of argument of the form
# <general text> = <filler>{<balanced text><right brace>
# however, <filler> does get expanded while searching for the initial {
# which IS required in contrast to a general argument; ie a single token is not correct.
# [Note: <filler> expands, ignoring spaces and \relax, until opening { ]
DefParameterType('GeneralText', sub {
my ($gullet) = @_;
$gullet->skipFiller;
return $gullet->readBalanced(0, 0, 1); });

# This is like GeneralText, but it Partially expands the argument (not \protected, nor \the)
DefParameterType('XGeneralText', sub {
my ($gullet) = @_;
$gullet->skipFiller;
Expand Down

0 comments on commit aa021e3

Please sign in to comment.