Add "init" to list of builtin function within NormalizeTools
[matthijs/master-project/cλash.git] / cλash / CLasH / Normalize / NormalizeTools.hs
index 633ac7af44c0294c02a5e6d071e9cd19e0c81df1..ed538cfc455ffc8431b834a0cd768f353b539af0 100644 (file)
@@ -211,7 +211,7 @@ isUserDefined bndr = str `notElem` (compiler_names ++ builtin_names)
                     , "copy", "lengthT", "null", "hwxor", "hwand", "hwor"
                     , "hwnot", "not", "+", "*", "-", "fromSizedWord"
                     , "resizeWord", "resizeInt", "fst", "snd", "blockRAM"
-                    , "split", "==", "/="
+                    , "split", "==", "/=", "init"
                     ]
 
     -- , (ltId             , (2, genOperator2 (AST.:<:)  ) )