X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=utils%2Fhpc%2FHpcParser.y;h=cf1d156c6efbd3634d3d70490b39436c6cd41a01;hp=bfdf9a862f4b08dbc9dc8145a48908b8a6de6729;hb=831a35dd00faff195cf938659c2dd736192b865f;hpb=ad94d40948668032189ad22a0ad741ac1f645f50 diff --git a/utils/hpc/HpcParser.y b/utils/hpc/HpcParser.y index bfdf9a8..cf1d156 100644 --- a/utils/hpc/HpcParser.y +++ b/utils/hpc/HpcParser.y @@ -1,9 +1,9 @@ { -{-# OPTIONS -w #-} +{-# OPTIONS -Wwarn #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings -- for details module HpcParser where @@ -31,7 +31,7 @@ import HpcLexer '}' { SYM '}' } int { INT $$ } string { STR $$ } - cat { STR $$ } + cat { CAT $$ } %% Spec :: { Spec }