mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-24 08:53:12 +03:00
Use "df_" rather than "_df_" as prefix for defined functions
The underscore squelches potentially useful warnings, since if a defined function isn't being used, something is indeed wrong.
This commit is contained in:
parent
2a6686375f
commit
6477e710d4
@ -538,7 +538,7 @@ translateFunction :: forall arch t args ret .
|
||||
-> FunctionFormula (Sym t) '(args, ret)
|
||||
-> Q (Name, Dec, Dec)
|
||||
translateFunction ltr ena ae archType ff = do
|
||||
var <- newName ("_df_" ++ (ffName ff))
|
||||
var <- newName ("df_" ++ (ffName ff))
|
||||
argVars :: [Name]
|
||||
<- sequence $ FC.toListFC (\bv -> newName (bvarName bv)) (ffArgVars ff)
|
||||
let argVarMap :: Map.MapF (SI.BoundVar (Sym t)) (C.Const Name)
|
||||
|
Loading…
Reference in New Issue
Block a user