From 28ad473e4a8239edd3ccfd71482ff9a61e2492b8 Mon Sep 17 00:00:00 2001 From: Martin von Gagern Date: Sat, 7 Jan 2017 00:21:28 +0100 Subject: [PATCH] Indicate missing support for delimited macros --- src/MacroExpander.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MacroExpander.js b/src/MacroExpander.js index 7ea8d31..608feaf 100644 --- 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 (;;) {