[svn:parrot] r44019 - trunk/compilers/pirc/src
bacek at svn.parrot.org
bacek at svn.parrot.org
Tue Feb 16 12:00:08 UTC 2010
Author: bacek
Date: Tue Feb 16 12:00:06 2010
New Revision: 44019
URL: https://trac.parrot.org/parrot/changeset/44019
Log:
PIRC: Fix ASSERT_ARGS usage
Modified:
trunk/compilers/pirc/src/pirmacro.c
Modified: trunk/compilers/pirc/src/pirmacro.c
==============================================================================
--- trunk/compilers/pirc/src/pirmacro.c Tue Feb 16 11:55:02 2010 (r44018)
+++ trunk/compilers/pirc/src/pirmacro.c Tue Feb 16 12:00:06 2010 (r44019)
@@ -54,7 +54,7 @@
ARGIN(char const * const name), int lineno, int takes_args,
unsigned initsize)
{
- ASSERT_ARGS(new_macro_table)
+ ASSERT_ARGS(new_macro)
macro_def *macro = (macro_def *)mem_sys_allocate(sizeof (macro_def));
macro->name = name;
@@ -282,6 +282,7 @@
macro_table *
new_macro_table(ARGIN(macro_table * const current))
{
+ ASSERT_ARGS(new_macro_table)
macro_table *table = (macro_table *)mem_sys_allocate_zeroed(sizeof (macro_table));
table->definitions = NULL;
table->prev = NULL;
More information about the parrot-commits
mailing list