www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 28ad473e4a8239edd3ccfd71482ff9a61e2492b8
parent e2763a300712e6b2774b925daf5d389a7377cb08
Author: Martin von Gagern <gagern@ma.tum.de>
Date:   Sat,  7 Jan 2017 00:21:28 +0100

Indicate missing support for delimited macros

Diffstat:
Msrc/MacroExpander.js | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/MacroExpander.js b/src/MacroExpander.js @@ -17,6 +17,10 @@ function MacroExpander(input, macros) { /** * Recursively expand first token, then return first non-expandable token. + * + * At the moment, macro expansion doesn't handle delimited macros, + * i.e. things like those defined by \def\foo#1\end{…}. + * See the TeX book page 202ff. for details on how those should behave. */ MacroExpander.prototype.nextToken = function() { for (;;) {