Confirmed this is a bug. If I change (anchoIco ? 2 : 0/* spacing */) to (anchoIco ? 2 : /* spacing */0)
it works ok. dperez wrote: > > Hi, > > I have this expression in my code: > > return /* paddingLeft */ 2 + /* paddingRight */ 2 + > (anchoIco ? 2 : /* spacing */ 0) + > Math.max(queAnchoTxt((param.hayIndReq() ? Const.indReq : '') + > param.queDenominacion()) + anchoIco, param.queAncho(true)); > > and receive this error: > > treegenerator.SyntaxException: Expected token/RP but found number/int: > '0'. file:RepetidorBase, line:49, column:22 > > The error is exactly here: /* spacing */ 0 > Maybe it gets confused by the comment. > What do you think? > > Cheers, > David > -- View this message in context: http://www.nabble.com/Possible-generator-bug-tf3888765.html#a11023687 Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
