Fix to swallow BOMs in sourced files

Fixes #1518
This commit is contained in:
ridiculousfish
2014-11-01 16:25:28 -07:00
parent 851f0bcfb3
commit fa588db148
4 changed files with 14 additions and 1 deletions

View File

@@ -113,4 +113,7 @@ try_unbalanced_block 'if false'
"while" false; end
"wh"'ile' false; "e"nd
# BOM checking (see #1518)
echo \uFEFF"echo bom_test" | source
false