Indicate missing support for delimited macros

This commit is contained in:
Martin von Gagern 2017-01-07 00:21:28 +01:00
parent e2763a3007
commit 28ad473e4a

View File

@ -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 (;;) {