Created
June 28, 2019 19:04
-
-
Save wz1000/9653baf2b43fcd3281da9e019bca0ea6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LINE 1 "templates/GenericTemplate.hs" #-} | |
... | |
alexIndexInt16OffAddr (AlexA# arr) off = | |
#ifdef WORDS_BIGENDIAN | |
narrow16Int# i | |
where | |
i = word2Int# ((high `uncheckedShiftL#` 8#) `or#` low) | |
high = int2Word# (ord# (indexCharOffAddr# arr (off' +# 1#))) | |
low = int2Word# (ord# (indexCharOffAddr# arr off')) | |
off' = off *# 2# | |
#else | |
indexInt16OffAddr# arr off -- 3307 | |
#endif | |
Name arr Defined at templates/GenericTemplate.hs:60:31 at position hieroot/stage1/compiler/build/Lexer.hs:3307:22-24 doesn't occur in calculated scope [NoScope, | |
LocalScope templates/GenericTemplate.hs:60:36-38] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment