Open waneck opened 11 years ago
[comment from si...@haxe.org, published at 2013-05-24T21:56:55.000Z] That's expected, single-quote strings suffer from unstable economy and turn $$ into $. Another reason is string interpolation (http://haxe.org/manual/string_interpolation).
[comment from System.g...@gmail.com, published at 2013-05-24T21:58:57.000Z] I know about interpolation. I need know in macros string is simple or with interpolation
[comment from System.g...@gmail.com, published at 2013-05-24T22:01:01.000Z] For example: CString and CInterpolationString
[comment from si...@haxe.org, published at 2013-05-24T22:04:02.000Z] Well that's not exactly what you reported, but I see what you mean now. I suppose we can expose Lexer.is_fmt_string to macros.
[comment from System.g...@gmail.com, published at 2013-05-24T22:05:35.000Z] Thanks. I'm sorry for my incorrect explanation
[Google Issue #1852 : http://code.google.com/haxe/issues/detail?id=1852] by System.g...@gmail.com, at 2013-05-24T21:51:37.000Z
trace(macro "$a"); // EConst(CString($a)) trace(macro '$$a'); // EConst(CString($a))