diff options
author | Hans Bolinder <[email protected]> | 2017-06-12 12:04:58 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-06-12 12:04:58 +0200 |
commit | 3ddf2b343c62d2dcd1678ded3f20639ae5c00812 (patch) | |
tree | f95bc0107e81a8e4385ea2e65f780a57df0d250f /lib/compiler/src/compile.erl | |
parent | 06e679b3652f6757c7d033d97ec9fb4dfc3f532c (diff) | |
download | otp-3ddf2b343c62d2dcd1678ded3f20639ae5c00812.tar.gz otp-3ddf2b343c62d2dcd1678ded3f20639ae5c00812.tar.bz2 otp-3ddf2b343c62d2dcd1678ded3f20639ae5c00812.zip |
compiler: Handle (bad) Unicode parse transform module names
Diffstat (limited to 'lib/compiler/src/compile.erl')
-rw-r--r-- | lib/compiler/src/compile.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl index c6e61d543e..e174a29e3a 100644 --- a/lib/compiler/src/compile.erl +++ b/lib/compiler/src/compile.erl @@ -264,9 +264,9 @@ format_error({delete_temp,File,Error}) -> io_lib:format("failed to delete temporary file ~ts: ~ts", [File,file:format_error(Error)]); format_error({parse_transform,M,R}) -> - io_lib:format("error in parse transform '~s': ~tp", [M, R]); + io_lib:format("error in parse transform '~ts': ~tp", [M, R]); format_error({undef_parse_transform,M}) -> - io_lib:format("undefined parse transform '~s'", [M]); + io_lib:format("undefined parse transform '~ts'", [M]); format_error({core_transform,M,R}) -> io_lib:format("error in core transform '~s': ~tp", [M, R]); format_error({crash,Pass,Reason}) -> |