summaryrefslogtreecommitdiff
path: root/src/rebar_abnfc_compiler.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-01-28 16:08:27 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-02-06 17:41:04 +0100
commit63de05d914f3c2bef6dcfc6cf966400d93c9c80d (patch)
treef22a8c1b4409f2afb3de5138aa57a88f3a4c50b9 /src/rebar_abnfc_compiler.erl
parent7710ab0d9f5be0833179d08d6eeb5da53ac1ed36 (diff)
Clean up code
Diffstat (limited to 'src/rebar_abnfc_compiler.erl')
-rw-r--r--src/rebar_abnfc_compiler.erl14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/rebar_abnfc_compiler.erl b/src/rebar_abnfc_compiler.erl
index 80fdf5e..bfb9a35 100644
--- a/src/rebar_abnfc_compiler.erl
+++ b/src/rebar_abnfc_compiler.erl
@@ -85,12 +85,12 @@ compile_abnfc(Source, _Target, Config) ->
case abnfc_is_present() of
false ->
?CONSOLE(
- "~n===============================================~n"
- " You need to install abnfc to compile ABNF grammars~n"
- " Download the latest tarball release from github~n"
- " https://github.com/nygge/abnfc~n"
- " and install it into your erlang library dir~n"
- "===============================================~n~n", []),
+ <<"~n===============================================~n"
+ " You need to install abnfc to compile ABNF grammars~n"
+ " Download the latest tarball release from github~n"
+ " https://github.com/nygge/abnfc~n"
+ " and install it into your erlang library dir~n"
+ "===============================================~n~n">>, []),
?FAIL;
true ->
AbnfcOpts = abnfc_opts(Config),
@@ -98,7 +98,7 @@ compile_abnfc(Source, _Target, Config) ->
Opts = [noobj,
{o, option(out_dir, AbnfcOpts)},
{mod, filename:basename(Source, SourceExt) ++
- option(module_ext, AbnfcOpts)}],
+ option(module_ext, AbnfcOpts)}],
case abnfc:file(Source, Opts) of
ok -> ok;
Error ->