X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fparser%2FLexer.x;h=856c2989af4fb722e645ff94a356d11d97e7aa97;hb=c8732b3c99e93c36ad28e23d2b901b794e89542a;hp=56d036e9f18a8bc0044da4fec1ebc4d20bbf4e6f;hpb=7c48f5e35572afc53f464580c95566abef6d6469;p=ghc-hetmet.git diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 56d036e..856c298 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -233,6 +233,8 @@ $white_no_nl+ ; "{-#" $whitechar* (DEPRECATED|deprecated) { token ITdeprecated_prag } "{-#" $whitechar* (SCC|scc) { token ITscc_prag } + "{-#" $whitechar* (GENERATED|generated) + { token ITgenerated_prag } "{-#" $whitechar* (CORE|core) { token ITcore_prag } "{-#" $whitechar* (UNPACK|unpack) { token ITunpack_prag } @@ -432,6 +434,7 @@ data Token | ITdeprecated_prag | ITline_prag | ITscc_prag + | ITgenerated_prag | ITcore_prag -- hdaume: core annotations | ITunpack_prag | ITclose_prag