From 1b679d8921bc591a7ea49b62f66926b455b3b512 Mon Sep 17 00:00:00 2001 From: sof Date: Wed, 15 May 2002 20:25:10 +0000 Subject: [PATCH 1/1] [project @ 2002-05-15 20:25:10 by sof] make prev commit work --- ghc/compiler/parser/Lex.lhs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/parser/Lex.lhs b/ghc/compiler/parser/Lex.lhs index bdb7e69..c3c7402 100644 --- a/ghc/compiler/parser/Lex.lhs +++ b/ghc/compiler/parser/Lex.lhs @@ -890,8 +890,8 @@ lex_id cont exts buf = case lookupUFM ghcExtensionKeywordsFM lexeme of { Just (kwd_token, validExts) - | testBit (toInt32 exts) validExts -> cont kwd_token buf'; - _ -> var_token + | validExts .&. (toInt32 exts) /= 0 -> cont kwd_token buf'; + _ -> var_token }}} -- 1.7.10.4