- Joined
- Oct 3, 2008
- Messages
- 367
Textmacros in JASS tags are acting... weird.
//! textmacro Trackable2__InterfaceFunc takes NAME, TYPE
function GetTrackable2$NAME$ takes Trackable2 which returns $TYPE$
return which.$NAME$
endfunction
//! endtextmacro
If you quote my post, you will see that those blocks are the same. However, within JASS tags, it's saying
function GetTrackable2$NAME$GetTrackable2 takes
instead of the proper
function GetTrackable2$NAME$ takes
What's going on, here?
//! textmacro Trackable2__InterfaceFunc takes NAME, TYPE
function GetTrackable2$NAME$ takes Trackable2 which returns $TYPE$
return which.$NAME$
endfunction
//! endtextmacro
JASS:
//! textmacro Trackable2__InterfaceFunc takes NAME, TYPE
function GetTrackable2$NAME$ takes Trackable2 which returns $TYPE$
return which.$NAME$
endfunction
//! endtextmacro
function GetTrackable2$NAME$GetTrackable2 takes
instead of the proper
function GetTrackable2$NAME$ takes
What's going on, here?
Last edited by a moderator: