Browse Source

Let ExprTools.makeMacroPosition public

杨博 11 years ago
parent
commit
973f5b29fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/macro/ExprTools.hx

+ 1 - 1
std/haxe/macro/ExprTools.hx

@@ -38,7 +38,7 @@ class ExprTools {
 	/**
 		Returns the `Position` where the caller of `makeMacroPosition` is.
 	**/
-	macro static function makeMacroPosition():ExprOf<Position>
+	macro public static function makeMacroPosition():ExprOf<Position>
 	{
 		var positionExpr = Context.makeExpr(Context.getPosInfos(Context.currentPos()), Context.currentPos());
 		if (Context.defined("macro"))