@@ -238,11 +238,11 @@ literals = mkPattern' match
238 val' | '(' `elem` vstr || '[' `elem` vstr = parens vstr
238 val' | '(' `elem` vstr || '[' `elem` vstr = parens vstr
239 | otherwise = vstr
239 | otherwise = vstr
241− match (CppVar ident) | ident == C.__unused = match (CppVar $ '_':ident)
241+ match (CppVar ident) | ident == C.__unused = match (CppVar $ '$':ident)
242 match (CppVar ident) = return ident
242 match (CppVar ident) = return ident
243 match (CppApp v [CppNoOp]) = return (prettyPrintCpp1 v)
243 match (CppApp v [CppNoOp]) = return (prettyPrintCpp1 v)
244 match (CppVariableIntroduction (ident, typ) qs value)
244 match (CppVariableIntroduction (ident, typ) qs value)
245− | ident == C.__unused = match (CppVariableIntroduction ('_':ident, typ) qs value)
245+ | ident == C.__unused = match (CppVariableIntroduction ('$':ident, typ) qs value)
246 match (CppVariableIntroduction (ident, typ) qs value) =
246 match (CppVariableIntroduction (ident, typ) qs value) =
247 fmap concat $ sequence
247 fmap concat $ sequence
248 [ return . concatMap (++ " ") . filter (not . null) $ runValueQual <$> qs
248 [ return . concatMap (++ " ") . filter (not . null) $ runValueQual <$> qs