Add "init" to list of builtin function within NormalizeTools
authorChristiaan Baaij <baaijcpr@toors-MacBook-Pro-2.local>
Sat, 20 Mar 2010 21:23:45 +0000 (22:23 +0100)
committerChristiaan Baaij <baaijcpr@toors-MacBook-Pro-2.local>
Sat, 20 Mar 2010 21:23:45 +0000 (22:23 +0100)
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.:<:)  ) )