[svn:parrot] r37681 - trunk/src
coke at svn.parrot.org
coke at svn.parrot.org
Tue Mar 24 14:17:23 UTC 2009
Author: coke
Date: Tue Mar 24 14:17:23 2009
New Revision: 37681
URL: https://trac.parrot.org/parrot/changeset/37681
Log:
codingstd fixes: use ASSERT_ARGS macros, no hard tabs.
Modified:
trunk/src/library.c
trunk/src/packfile.c
Modified: trunk/src/library.c
==============================================================================
--- trunk/src/library.c Tue Mar 24 14:01:29 2009 (r37680)
+++ trunk/src/library.c Tue Mar 24 14:17:23 2009 (r37681)
@@ -632,7 +632,7 @@
ARGIN(const char *path),
enum_lib_paths which)
{
- ASSERT_ARGS(Parrot_add_library_path)
+ ASSERT_ARGS(Parrot_add_library_path_from_cstring)
STRING * const path_str = Parrot_str_new(interp, path, 0);
Parrot_add_library_path(interp, path_str, which);
}
Modified: trunk/src/packfile.c
==============================================================================
--- trunk/src/packfile.c Tue Mar 24 14:01:29 2009 (r37680)
+++ trunk/src/packfile.c Tue Mar 24 14:17:23 2009 (r37681)
@@ -4594,8 +4594,9 @@
static void
compile_or_load_file(PARROT_INTERP, ARGIN(STRING *path),
- enum_runtime_ft file_type)
+ enum_runtime_ft file_type)
{
+ ASSERT_ARGS(compile_or_load_file)
char *filename = Parrot_str_to_cstring(interp, path);
if (file_type == PARROT_RUNTIME_FT_PBC) {
@@ -4676,9 +4677,9 @@
name_length = Parrot_str_length(interp, lang_name);
found_path = Parrot_str_substr(interp, found_path, -name_length, name_length, NULL, 0);
Parrot_add_library_path(interp, Parrot_str_append(interp, found_path, CONST_STRING(interp, "include/")),
- PARROT_LIB_PATH_INCLUDE);
+ PARROT_LIB_PATH_INCLUDE);
Parrot_add_library_path(interp, Parrot_str_append(interp, found_path, CONST_STRING(interp, "dynext/")),
- PARROT_LIB_PATH_DYNEXT);
+ PARROT_LIB_PATH_DYNEXT);
/* Check if the file found was actually a bytecode file (.pbc extension) or
More information about the parrot-commits
mailing list