Spaces in macro calls cause Apple's cpp to insert those spaces in the result.

#define IMAGE(TYPE, NAME) TYPE: "button"NAME".png"
	IMAGE(normal, "foo");
Results in:
	normal: "button" "foo"".png"
Which edje_cc cannot parse correctly as it views this as 2 arguments to the
normal keyword.


SVN revision: 13797
This commit is contained in:
rbdpngn 2005-03-20 06:32:06 +00:00 committed by rbdpngn
parent aa0ccade2d
commit a396ecc22f
1 changed files with 4 additions and 4 deletions

View File

@ -184,7 +184,7 @@ group { \
} \
} \
} \
BORDER_BUTTON("button", TYPE, 0.0, 0.0, -3, -3, "whole", 1.0, 1.0, 2, 2, "whole") \
BORDER_BUTTON("button",TYPE,0.0,0.0,-3,-3,"whole",1.0,1.0,2,2,"whole") \
} \
}
@ -906,9 +906,9 @@ group {
}
}
BORDER_BUTTON("button_0", "close", 0.0, 0.0, 0, 0, "whole", 1.0, 0.0, -1, 23, "whole")
BORDER_BUTTON("button_1", "maximize", 0.0, 0.0, 3, 0, "button_0", 0.0, 1.0, 3, -1, "button_0")
BORDER_BUTTON("button_2", "minimize", 0.0, 0.0, 3, 0, "button_1", 0.0, 1.0, 3, -1, "button_1")
BORDER_BUTTON("button_0","close",0.0,0.0, 0,0,"whole",1.0,0.0,-1,23,"whole")
BORDER_BUTTON("button_1","maximize",0.0,0.0,3,0,"button_0",0.0,1.0,3,-1,"button_0")
BORDER_BUTTON("button_2","minimize",0.0,0.0,3,0,"button_1",0.0,1.0,3,-1,"button_1")
part {
name: "icon";