@@ -138,8 +138,8 @@ tokenize([$#|String], Line, Scope, Tokens) ->
138
138
% Sigils
139
139
140
140
tokenize ([$% ,S ,H ,H ,H |T ] = Original , Line , Scope , Tokens ) when ? is_quote (H ), ? is_upcase (S ) orelse ? is_downcase (S ) ->
141
- % io:format(standard_error, "~ts:~p: warning: using % for sigils is deprecated, "
142
- % "please use ~~ instead~n", [Scope#elixir_tokenizer.file, Line]),
141
+ io :format (standard_error , " ~ts :~p : warning: using % for sigils is deprecated, "
142
+ " please use ~~ instead~n " , [Scope # elixir_tokenizer .file , Line ]),
143
143
144
144
case extract_heredoc_with_interpolation (Line , Scope , ? is_downcase (S ), T , H ) of
145
145
{ ok , NewLine , Parts , Rest } ->
@@ -150,8 +150,8 @@ tokenize([$%,S,H,H,H|T] = Original, Line, Scope, Tokens) when ?is_quote(H), ?is_
150
150
end ;
151
151
152
152
tokenize ([$% ,S ,H |T ] = Original , Line , Scope , Tokens ) when ? is_sigil (H ), ? is_upcase (S ) orelse ? is_downcase (S ) ->
153
- % io:format(standard_error, "~ts:~p: warning: using % for sigils is deprecated, "
154
- % "please use ~~ instead~n", [Scope#elixir_tokenizer.file, Line]),
153
+ io :format (standard_error , " ~ts :~p : warning: using % for sigils is deprecated, "
154
+ " please use ~~ instead~n " , [Scope # elixir_tokenizer .file , Line ]),
155
155
156
156
case elixir_interpolation :extract (Line , Scope , ? is_downcase (S ), T , sigil_terminator (H )) of
157
157
{ NewLine , Parts , Rest } ->
0 commit comments