git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: nicer name for data constructor name key
commit6aeda1aa78396dde61cb50d5769e2af94e096cf6 authorAndy Arvanitis <andyarvanitis@gmail.com> dateSat 27 Feb 2016, 14:36 (11 years ago) parent58b91a5
1 file changed+1−1
src/Language/PureScript/CodeGen/Cpp/Common.hs+1−1
src/Language/PureScript/CodeGen/Cpp/Common.hs+1−1
@@ -104,6 +104,7 @@ nameIsCppReserved name =
104104 , "constexpr"
105105 , "const_cast"
106106 , "continue"
107+ , "constructor"
107108 , "decltype"
108109 , "default"
109110 , "delete"
@@ -123,7 +124,6 @@ nameIsCppReserved name =
123124 , "goto"
124125 , "if"
125126 , "import"
126− , "kDataCtor"
127127 , "inline"
128128 , "int"
129129 , "list"