From 26adf51554589c59917039be31fdf8af964f8cb2 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 1 Sep 2008 09:28:23 +0000 Subject: [PATCH] evaluate heredoc if no terminator found --- content/io.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/io.js b/content/io.js index c91c6f62..5c4746a1 100644 --- a/content/io.js +++ b/content/io.js @@ -709,6 +709,10 @@ lookup: } } }); + + // if no heredoc-end delimiter is found before EOF then + // process the heredoc anyway - Vim compatible ;-) + liberator.eval(heredoc); } liberator.log("Sourced: " + filename, 3);