diff options
author | Lukas Larsson <[email protected]> | 2012-02-10 17:31:17 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2012-02-14 14:59:12 +0100 |
commit | 617512640c9c5196fc9a6cc2de7742c393410059 (patch) | |
tree | fe63e4b1f1fbc60ce527d4d97e868fdb1c5a4be4 /lib/erl_docgen | |
parent | 42550aa765f0336aaa103f059491d2f6a7df3a51 (diff) | |
download | otp-617512640c9c5196fc9a6cc2de7742c393410059.tar.gz otp-617512640c9c5196fc9a6cc2de7742c393410059.tar.bz2 otp-617512640c9c5196fc9a6cc2de7742c393410059.zip |
Allow 1..2 types to be exported from edoc
Diffstat (limited to 'lib/erl_docgen')
-rw-r--r-- | lib/erl_docgen/src/docgen_edoc_xml_cb.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/erl_docgen/src/docgen_edoc_xml_cb.erl b/lib/erl_docgen/src/docgen_edoc_xml_cb.erl index dc9bc565ee..0971451b32 100644 --- a/lib/erl_docgen/src/docgen_edoc_xml_cb.erl +++ b/lib/erl_docgen/src/docgen_edoc_xml_cb.erl @@ -975,6 +975,8 @@ t_type([E=#xmlElement{name = atom}]) -> t_atom(E); t_type([E=#xmlElement{name = integer}]) -> t_integer(E); +t_type([E=#xmlElement{name = range}]) -> + t_range(E); t_type([E=#xmlElement{name = float}]) -> t_float(E); t_type([#xmlElement{name = nil}]) -> @@ -1001,6 +1003,9 @@ t_atom(E) -> t_integer(E) -> [get_attrval(value, E)]. +t_range(E) -> + [get_attrval(value, E)]. + t_float(E) -> [get_attrval(value, E)]. |