Author: paultcochrane
Date: Sun Sep 30 15:04:52 2007
New Revision: 21689
Modified:
trunk/languages/pugs/pmc/pugscapture.pmc
Log:
[pugs] Shortening lines in accordance with coding standards.
Modified: trunk/languages/pugs/pmc/pugscapture.pmc
==============================================================================
--- trunk/languages/pugs/pmc/pugscapture.pmc (original)
+++ trunk/languages/pugs/pmc/pugscapture.pmc Sun Sep 30 15:04:52 2007
@@ -182,8 +182,8 @@
-/* rhs and lhs versions needed to avoid the msg "warning: use of cast
expressions as lvalues is deprecated"
- Is there a better way?
+/* rhs and lhs versions needed to avoid the msg "warning: use of cast
+ * expressions as lvalues is deprecated" Is there a better way?
*/
#define siva_int(a) ((INTVAL) PMC_struct_val(a))
#define siva_set_int(a,v) (PMC_struct_val(a) = (DPOINTER*) v)
@@ -197,8 +197,10 @@
#define siva_siva(a) ((PMC*) PMC_pmc_val(a))
#define siva_set_siva(a,v) (PMC_pmc_val(a)) = ((PMC*) v)
-#define siva_ary_create_if_void(i,a) { if (!siva_ary(a)) siva_set_ary(a,
list_new(i, enum_type_PMC)); }
-#define siva_hash_create_if_void(i,a) { \
+#define siva_ary_create_if_void(i,a) { \
+ if (!siva_ary(a)) siva_set_ary(a, list_new(i, enum_type_PMC)); \
+}
+#define siva_hash_create_if_void(i,a) { \
if (!siva_hash(a)) parrot_new_hash_x(i, &siva_hash(a), enum_type_ptr,
Hash_key_type_int, int_compare, key_hash_int); \
}
#define siva_str_create_if_void(i,a) { \