[ROOT] CINT and if in case

From: cstrato (aon.912121399@aon.at)
Date: Sun Aug 17 2003 - 22:17:41 MEST


Dear Rooters

In a macro (about 3000 loc) I have the following statement:
   case 2:
      if (x == a) {
         etc
      } else if (x == b)) {
         etc
      } else {
         etc
      }
      break;

Using copy/paste I could use similar statments 4 times within my macro
without problems. When I copied it one more time, CINT suddenly
jumped to a new case statement instead of breaking. I was not able
to find a mistake.

Only compiling my macro using ACLiC told me that the "else if"
statement had one closing parenthesis too much.

Is this a limitation of CINT? Maybe CINT could crosscheck the
parenthesis?

(I am using ROOT 3.10/00 on MacOS X)

Best regards
Christian

_._._._._._._._._._._._._._._._

C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
V.i.e.n.n.a       A.u.s.t.r.i.a
_._._._._._._._._._._._._._._._



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET