aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_config_xml.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2010-05-27 00:46:37 +0200
committerRaimo Niskanen <[email protected]>2010-06-09 16:19:19 +0200
commit7b33aa92bb2558ba04a6436203638fd46592b8d2 (patch)
treed0ca16d7a4d816aef05300a810703e676ed1a013 /lib/common_test/src/ct_config_xml.erl
parent80d1a5c5753a18491bfe29740ab5b0af22f0bff2 (diff)
downloadotp-7b33aa92bb2558ba04a6436203638fd46592b8d2.tar.gz
otp-7b33aa92bb2558ba04a6436203638fd46592b8d2.tar.bz2
otp-7b33aa92bb2558ba04a6436203638fd46592b8d2.zip
Improve documentation and fix minor problems
General documentation and code updates.
Diffstat (limited to 'lib/common_test/src/ct_config_xml.erl')
-rw-r--r--lib/common_test/src/ct_config_xml.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/common_test/src/ct_config_xml.erl b/lib/common_test/src/ct_config_xml.erl
index 4ced80aeac..8a6e75e635 100644
--- a/lib/common_test/src/ct_config_xml.erl
+++ b/lib/common_test/src/ct_config_xml.erl
@@ -33,7 +33,7 @@ read_config(ConfigFile) ->
{error, Error, ErroneousString}
end.
-% check against existence of the file
+% check file exists
check_parameter(File)->
case filelib:is_file(File) of
true->
@@ -107,8 +107,7 @@ transform_entity({Tag, String})->
throw(Error)
end.
-% transform a string with Erlang terms to the terms
-% stolen from trapexit.org :-)
+% transform a string with Erlang terms
list_to_term(String) ->
{ok, T, _} = erl_scan:string(String++"."),
case catch erl_parse:parse_term(T) of