X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fhpc%2FHpcParser.y;h=74893e46eaec9860973b5df61f7d78dfdc4355e0;hb=9259deb86455a17c05ea7ba982f7d400ac69e3f6;hp=c18e053c153de362d0c3ac53f35633a5aa6a304c;hpb=d759c7231dde979ed2824bd39b2fdff24357d355;p=ghc-hetmet.git diff --git a/utils/hpc/HpcParser.y b/utils/hpc/HpcParser.y index c18e053..74893e4 100644 --- a/utils/hpc/HpcParser.y +++ b/utils/hpc/HpcParser.y @@ -1,9 +1,9 @@ { -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-} -- 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/WorkingConventions#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 }