From bdd957e58dc6fdaa3cac1202daf0d16d41491278 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 28 Sep 2012 01:15:32 +0300 Subject: [PATCH] Recognize char pointers as strings statement.append("literal") was creating a symbol value, which was not following the principle of least surprise. --- source/type.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/type.h b/source/type.h index 5876628..85cfec4 100644 --- a/source/type.h +++ b/source/type.h @@ -123,6 +123,12 @@ struct TypeInfo: BoolType { }; template<> struct TypeInfo: StringType { }; +template<> +struct TypeInfo: StringType { }; + +template<> +struct TypeInfo: StringType { }; + template struct TypeInfo: TypeInfo { }; -- 2.45.2