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

@@ -59,6 +59,9 @@ typedef std::vector<wcstring> wcstring_list_t;
*/
#define BYTE_MAX 0xffu
/** BOM value */
#define UTF8_BOM_WCHAR 0xFEFFu
/* Flags for unescape_string functions */
enum
{