Permalink
Browse files

[codingstd] Conform to linelength, C parens, C args asserts, etc.

  • Loading branch information...
1 parent 92d8d2b commit 81ed05e5f03a54f8189632625c3f214b19c992dc @jkeenan jkeenan committed Aug 10, 2012
Showing with 8 additions and 5 deletions.
  1. +4 −1 compilers/imcc/pbc.c
  2. +2 −2 src/packfile/api.c
  3. +2 −2 src/pmc/packfileview.pmc
@@ -1779,7 +1779,10 @@ build_key(ARGMOD(imc_info_t * imcc), ARGIN(SymReg *key_reg),
Parrot_key_set_register(imcc->interp, tail, regno, KEY_pmc_FLAG);
break;
default:
- IMCC_fatal(imcc, 1, "build_key: wrong register set '%c' (%d) in keyed access. Expects one of 'I', 'S' or 'P'\n", r->set, r->set);
+ IMCC_fatal(imcc, 1,
+ "build_key: wrong register set '%c' (%d) in keyed access. "
+ "Expects one of 'I', 'S' or 'P'\n",
+ r->set, r->set);
}
IMCC_debug(imcc, DEBUG_PBC_CONST, " keypart reg %s %c%d\n",
View
@@ -559,7 +559,7 @@ PARROT_WARN_UNUSED_RESULT
PMC *
Parrot_pf_all_tagged_pmcs(PARROT_INTERP, ARGIN(PMC * pfpmc))
{
- ASSERT_ARGS(Parrot_pf_all_tags_list)
+ ASSERT_ARGS(Parrot_pf_all_tagged_pmcs)
PackFile * const pf = (PackFile*)VTABLE_get_pointer(interp, pfpmc);
PMC * const taghash = Parrot_pmc_new(interp, enum_class_Hash);
@@ -624,7 +624,7 @@ Parrot_pf_all_subs(PARROT_INTERP, ARGIN(PMC *pfpmc))
/*
=item C<static int sub_pragma(PARROT_INTERP, pbc_action_enum_t action, const PMC
-*sub_pmc)
+*sub_pmc)>
Checks B<sub_pmc>'s pragmas (e.g. flags like C<:load>, C<:main>, etc.)
returning 1 if the sub should be run for C<action>, a C<pbc_action_enum_t>.
@@ -396,12 +396,12 @@ Determine if the given tag has been marked initialized
METHOD all_tags() {
PMC * const array = Parrot_pf_all_tags_list(interp, SELF);
- RETURN (PMC *array);
+ RETURN(PMC *array);
}
METHOD all_tagged_pmcs() {
PMC * const hash = Parrot_pf_all_tagged_pmcs(INTERP, SELF);
- RETURN (PMC *hash);
+ RETURN(PMC *hash);
}
METHOD mark_initialized(STRING *tag) {

0 comments on commit 81ed05e

Please sign in to comment.