X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fparser%2FParserCore.y;fp=compiler%2Fparser%2FParserCore.y;h=6d302fb03acf1d1cb54f5ff14cbadece99d8a91f;hp=17d1098d9b95976682557ccee2e7186588e71e0d;hb=e79c9ce01d0ce4412bd4bcd99c8c728a6a2ec569;hpb=6ccd648bf016aa9cfa13612f0f19be6badea16d1 diff --git a/compiler/parser/ParserCore.y b/compiler/parser/ParserCore.y index 17d1098..6d302fb 100644 --- a/compiler/parser/ParserCore.y +++ b/compiler/parser/ParserCore.y @@ -275,12 +275,11 @@ exp :: { IfaceExpr } | '%case' '(' ty ')' aexp '%of' id_bndr '{' alts1 '}' { IfaceCase $5 (fst $7) $3 $9 } | '%cast' aexp aty { IfaceCast $2 $3 } --- No InlineMe any more --- | '%note' STRING exp --- { case $2 of --- --"SCC" -> IfaceNote (IfaceSCC "scc") $3 --- "InlineMe" -> IfaceNote IfaceInlineMe $3 --- } + | '%note' STRING exp + { case $2 of + --"SCC" -> IfaceNote (IfaceSCC "scc") $3 + "InlineMe" -> IfaceNote IfaceInlineMe $3 + } | '%external' STRING aty { IfaceFCall (ForeignCall.CCall (CCallSpec (StaticTarget (mkFastString $2)) CCallConv (PlaySafe False)))