Josh Wilmes: # --- misc.c 15 Feb 2002 02:30:02 -0000 1.11 # +++ misc.c 16 Feb 2002 05:36:46 -0000 # @@ -277,6 +277,7 @@ # info.phase = PHASE_WIDTH; # goto AGAIN; # } # + break; # # case PHASE_WIDTH: # switch (ch) { # @@ -301,6 +302,7 @@ # info.phase = PHASE_PREC; # goto AGAIN; # } # + break; # # case PHASE_PREC: # switch (ch) { # @@ -321,6 +323,7 @@ # info.phase = PHASE_TYPE; # goto AGAIN; # } # + break; # # case PHASE_TYPE: # switch (ch) {
It's not indenting the nested switch() statements the same as their matched break;s. # Index: lib/Parrot/OpTrans/CPrederef.pm # =================================================================== # RCS file: /home/perlcvs/parrot/lib/Parrot/OpTrans/CPrederef.pm,v # retrieving revision 1.6 # diff -u -r1.6 CPrederef.pm # --- lib/Parrot/OpTrans/CPrederef.pm 15 Feb 2002 03:25:00 # -0000 1.6 # +++ lib/Parrot/OpTrans/CPrederef.pm 16 Feb 2002 05:36:50 -0000 # @@ -25,7 +25,7 @@ # #define REL_PC ((size_t)(cur_opcode - interpreter->prederef_code)) # #define CUR_OPCODE (((opcode_t # *)interpreter->code->byte_code) + REL_PC) # # -static inline opcode_t* prederef_to_opcode(struct # Parrot_Interp* interpreter, # +static opcode_t* prederef_to_opcode(struct Parrot_Interp* # interpreter, # void** prederef_addr) # { # ssize_t offset_in_ops; # @@ -34,7 +34,7 @@ # return (opcode_t*) interpreter->code->byte_code + offset_in_ops; # } # # -static inline void** opcode_to_prederef(struct # Parrot_Interp* interpreter, # +static void** opcode_to_prederef(struct Parrot_Interp* interpreter, # opcode_t* opcode_addr) # { # ssize_t offset_in_ops; I think there's an INLINE macro defined somewhere in the core that is 'inline' when we're on C++ and null otherwise. --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker Check out the Parrot FAQ: http://www.panix.com/~ziggy/parrot.html (no, it's not mine) <obra> mmmm. hawt sysadmin chx0rs <lathos> This is sad. I know of *a* hawt sysamin chx0r. <obra> I know more than a few. <lathos> obra: There are two? Are you sure it's not the same one?