diff --git a/src/doc-debug.js b/src/doc-debug.js index efcf9d20..e1fc1567 100644 --- a/src/doc-debug.js +++ b/src/doc-debug.js @@ -92,6 +92,12 @@ function printDoc(doc) { printDoc(doc.contents) + ")"; } + + if (doc.type === "line-suffix") { + return "lineSuffix(" + printDoc(doc.contents) + ")"; + } + + throw new Error('Unknown doc type ' + doc.type); } module.exports = {