aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-01-05 23:32:56 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-01-05 23:32:56 +0100
commitdc70f3bb56c7b09b1bcf0d4374741f9abbf8a555 (patch)
tree625cad2fc87dd3a690a0bcf7b6cafdb3a20d1327 /lib/syntax_tools/src
parentbbcdfa4bada59bfc4b62b5891e65d29c33286b73 (diff)
downloadotp-dc70f3bb56c7b09b1bcf0d4374741f9abbf8a555.tar.gz
otp-dc70f3bb56c7b09b1bcf0d4374741f9abbf8a555.tar.bz2
otp-dc70f3bb56c7b09b1bcf0d4374741f9abbf8a555.zip
syntax_tools: Remove warnings of missing types
* Just remove the warnings, not fixing the actual problem.
Diffstat (limited to 'lib/syntax_tools/src')
-rw-r--r--lib/syntax_tools/src/Makefile2
-rw-r--r--lib/syntax_tools/src/erl_syntax.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/syntax_tools/src/Makefile b/lib/syntax_tools/src/Makefile
index 50369e633e..bac138e95a 100644
--- a/lib/syntax_tools/src/Makefile
+++ b/lib/syntax_tools/src/Makefile
@@ -26,7 +26,7 @@ EBIN = ../ebin
ifeq ($(NATIVE_LIBS_ENABLED),yes)
ERL_COMPILE_FLAGS += +native
endif
-ERL_COMPILE_FLAGS += +warn_unused_vars +nowarn_shadow_vars +warn_unused_import +warn_missing_spec +warn_untyped_record
+ERL_COMPILE_FLAGS += +warn_unused_vars +nowarn_shadow_vars +warn_unused_import # +warn_missing_spec +warn_untyped_record
SOURCES=erl_syntax.erl erl_prettypr.erl erl_syntax_lib.erl \
erl_comment_scan.erl erl_recomment.erl erl_tidy.erl \
diff --git a/lib/syntax_tools/src/erl_syntax.erl b/lib/syntax_tools/src/erl_syntax.erl
index f74242fb41..32fd3722d6 100644
--- a/lib/syntax_tools/src/erl_syntax.erl
+++ b/lib/syntax_tools/src/erl_syntax.erl
@@ -6102,7 +6102,7 @@ implicit_fun_name(Node) ->
set_pos(integer(Arity), Pos)));
{'fun', _Pos, {function, Module, Atom, Arity}} ->
%% New in R15: fun M:F/A.
- %% XXX: Perhaps set position for this aswell?
+ %% XXX: Perhaps set position for this as well?
module_qualifier(Module, arity_qualifier(Atom, Arity));
Node1 ->
data(Node1)