Replace usage of "e.g." (#9571)

This commit is contained in:
Eksperimental
2019-11-22 11:26:23 +01:00
committed by José Valim
parent 808500786c
commit 2121cbd086
21 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ parse_error(Line, File, {ErrorPrefix, ErrorSuffix}, Token) when is_binary(ErrorP
Message = <<ErrorPrefix/binary, Token/binary, ErrorSuffix/binary >>,
raise(Line, File, 'Elixir.SyntaxError', Message);
%% Misplaced char tokens (e.g., {char, _, 97}) are translated by Erlang into
%% Misplaced char tokens (for example, {char, _, 97}) are translated by Erlang into
%% the char literal (i.e., the token in the previous example becomes $a),
%% because {char, _, _} is a valid Erlang token for an Erlang char literal. We
%% want to represent that token as ?a in the error, according to the Elixir