Author: bernhard Date: Wed Dec 24 05:13:39 2008 New Revision: 34335 Modified: trunk/compilers/pirc/new/pirsymbol.h Log: [codingstd] wrap args in macro definitions Modified: trunk/compilers/pirc/new/pirsymbol.h ============================================================================== --- trunk/compilers/pirc/new/pirsymbol.h (original) +++ trunk/compilers/pirc/new/pirsymbol.h Wed Dec 24 05:13:39 2008 @@ -34,8 +34,8 @@ } syminfo; /* accessors for easy typing; X must be a pointer to a syminfo struct. */ -#define sym_name(X) X->id.name -#define sym_regno(X) X->id.regno +#define sym_name(X) (X)->id.name +#define sym_regno(X) (X)->id.regno /* structure to represent a declared local variable or parameter */