Spaces in macro calls cause Apple's cpp to insert those spaces in the result.
authorrbdpngn <rbdpngn>
Sun, 20 Mar 2005 06:32:06 +0000 (06:32 +0000)
committerrbdpngn <rbdpngn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 20 Mar 2005 06:32:06 +0000 (06:32 +0000)
#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

data/themes/default_border.edc

index 8a2f76c..7fd267d 100644 (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";