|
@@ -38,7 +38,7 @@ import haxe.macro.Type.TypedExpr;
|
|
|
#if !neko @:noDoc #end
|
|
|
class Context {
|
|
|
|
|
|
-#if (neko || eval)
|
|
|
+#if (neko || eval || display)
|
|
|
/**
|
|
|
Displays a compilation error `msg` at the given `Position` `pos`
|
|
|
and aborts the current macro call.
|
|
@@ -517,8 +517,8 @@ class Context {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- Types expression `e`, stores the resulting typed expression internally and
|
|
|
- returns a syntax-level expression that can be returned from a macro and
|
|
|
+ Types expression `e`, stores the resulting typed expression internally and
|
|
|
+ returns a syntax-level expression that can be returned from a macro and
|
|
|
will be replaced by the stored typed expression.
|
|
|
|
|
|
If `e` is null or invalid, an exception is thrown.
|