[erlang-bugs] Misspelled word "seperator"

Lukas Larsson lukas@REDACTED
Thu Jul 3 14:46:34 CEST 2014


Hello,

Thanks for reporting this.

All of the places that you list below (including string:tokens/2) are 
internal comments or function that are not supposed to be exposed to the 
user of Erlang/OTP. I suppose that Erlide detects it as edoc style 
documentation and therefore uses it.

That being said I found some other places where the word was misspelled 
and I've included them together with the servers -> server's fixes in a 
doc branch to be included in the next minor release.

Thanks,
Lukas

On 02/07/14 14:56, Rabbe Fogelholm wrote:
> When using Erlide there is help that may pop up when hovering over
> source items.
>
> Hovering over a string:tokens/2 function call causes the following
> to pop up:
>
> +------------------------
> | tokens(String, Seperators).
> |  Return a list of tokens seperated by characters in Seperators.
> +-----------------------------------
>
> The misspelled words (seperated etc) appear to come from the Erlang
> source code, in this case lib/stdlib/src/string.erl.
>
> Probably this cosmetic flaw can be seen in more places. A
> case-insensitive search for the string 'seperat' in the source
> tree yields these hits:
>
> ./lib/inets/src/inets_app/inets_regexp.erl
> ./lib/hipe/llvm/hipe_rtl_to_llvm.erl
> ./lib/parsetools/src/leex.erl
> ./lib/stdlib/src/edlin_expand.erl
> ./lib/stdlib/src/string.erl
> ./lib/stdlib/src/erl_lint.erl
> ./lib/stdlib/src/io_lib.erl
> ./lib/stdlib/src/edlin.erl
> ./lib/public_key/test/pkits_SUITE.erl
> ./lib/xmerl/src/xmerl_regexp.erl
>
> Rabbe Fogelholm, Ericsson, Stockholm
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>




More information about the erlang-bugs mailing list