Change DOCOPTIONS pragma to DOC_OPTIONS
authorDavid Waern <davve@dtek.chalmers.se>
Tue, 2 Oct 2007 14:38:49 +0000 (14:38 +0000)
committerDavid Waern <davve@dtek.chalmers.se>
Tue, 2 Oct 2007 14:38:49 +0000 (14:38 +0000)
MERGE TO STABLE

compiler/parser/Lexer.x

index a63fa3b..47fd107 100644 (file)
@@ -257,7 +257,7 @@ $tab+         { warn Opt_WarnTabs (text "Tab character") }
   "{-#" $whitechar* (CORE|core)                { token ITcore_prag }
   "{-#" $whitechar* (UNPACK|unpack)    { token ITunpack_prag }
 
-  "{-#" $whitechar* (DOCOPTIONS|docoptions)
+  "{-#" $whitechar* (DOC_OPTIONS|doc_options)
   / { ifExtension haddockEnabled }     { lex_string_prag ITdocOptions }
 
  "{-#"                                 { nested_comment lexToken }