aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools/src/yecc.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-02-04 16:11:43 +0100
committerHans Bolinder <[email protected]>2013-02-11 15:00:45 +0100
commit771b21fa519a52a27134806e1d62440d8535f6b5 (patch)
tree96f822c8166896ff28f5bc66eef229cf85204ab9 /lib/parsetools/src/yecc.erl
parente1676e6c579fa34d07694784afd0902433802bfb (diff)
downloadotp-771b21fa519a52a27134806e1d62440d8535f6b5.tar.gz
otp-771b21fa519a52a27134806e1d62440d8535f6b5.tar.bz2
otp-771b21fa519a52a27134806e1d62440d8535f6b5.zip
Make Unicode corrections
Diffstat (limited to 'lib/parsetools/src/yecc.erl')
-rw-r--r--lib/parsetools/src/yecc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parsetools/src/yecc.erl b/lib/parsetools/src/yecc.erl
index 2f0f70f39b..30e0db421e 100644
--- a/lib/parsetools/src/yecc.erl
+++ b/lib/parsetools/src/yecc.erl
@@ -2561,7 +2561,7 @@ format_assoc(nonassoc) ->
format_symbol(Symbol) ->
String = concat([Symbol]),
- case erl_scan:string(String, 1, [unicode]) of
+ case erl_scan:string(String) of
{ok, [{atom, _, _}], _} ->
io_lib:fwrite(<<"~w">>, [Symbol]);
{ok, [{Word, _}], _} when Word =/= ':', Word =/= '->' ->