projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1998-05-22 15:23:11 by simonm]
[ghc-hetmet.git]
/
ghc
/
compiler
/
parser
/
hslexer.flex
diff --git
a/ghc/compiler/parser/hslexer.flex
b/ghc/compiler/parser/hslexer.flex
index
432625a
..
a3abd5a
100644
(file)
--- a/
ghc/compiler/parser/hslexer.flex
+++ b/
ghc/compiler/parser/hslexer.flex
@@
-325,6
+325,10
@@
NL [\n\r]
PUSH_STATE(UserPragma);
RETURN(INLINE_UPRAGMA);
}
+<Code,GlaExt>"{-#"{WS}*"NOINLINE" {
+ PUSH_STATE(UserPragma);
+ RETURN(NOINLINE_UPRAGMA);
+ }
<Code,GlaExt>"{-#"{WS}*"MAGIC_UNFOLDING" {
PUSH_STATE(UserPragma);
RETURN(MAGIC_UNFOLDING_UPRAGMA);