File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ alex_scan_tkn user__ orig_input len input__ s last_acc =
155
155
Nothing -> (new_acc, input__)
156
156
Just (c, new_input) ->
157
157
#ifdef ALEX_DEBUG
158
- trace (" State: " ++ show IBOX (s) ++ " , char: " ++ show c) $
158
+ trace (" State: " ++ show IBOX (s) ++ " , char: " ++ show c ++ " " ++ ( show . chr . fromIntegral ) c ) $
159
159
#endif
160
160
case fromIntegral c of { IBOX (ord_c) ->
161
161
let
Original file line number Diff line number Diff line change @@ -406,6 +406,7 @@ import_glaexts = "#if __GLASGOW_HASKELL__ >= 503\n" ++
406
406
407
407
import_debug :: String
408
408
import_debug = " #if __GLASGOW_HASKELL__ >= 503\n " ++
409
+ " import Data.Char (chr)\n " ++
409
410
" import System.IO\n " ++
410
411
" import System.IO.Unsafe\n " ++
411
412
" import Debug.Trace\n " ++
You can’t perform that action at this time.
0 commit comments