[Asterisk-cvs] asterisk ast_expr.y,1.5,1.6
markster at lists.digium.com
markster at lists.digium.com
Mon May 3 23:15:29 CDT 2004
- Previous message: [Asterisk-cvs] zaptel wct4xxp.c,1.44,1.45 zaptel.c,1.72,1.73 zaptel.conf.sample,1.12,1.13 zaptel.h,1.31,1.32 ztcfg.c,1.14,1.15
- Next message: [Asterisk-cvs] zaptel zaptel.c,1.73,1.74
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv25418
Modified Files:
ast_expr.y
Log Message:
More expression fixes (bug #1548 again)
Index: ast_expr.y
===================================================================
RCS file: /usr/cvsroot/asterisk/ast_expr.y,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ast_expr.y 4 May 2004 01:45:00 -0000 1.5
+++ ast_expr.y 4 May 2004 03:23:35 -0000 1.6
@@ -341,9 +341,18 @@
}
else if( *t1 == 0 )
{
- /* we are done. That was quick */
- p = karoto->ptrptr;
- yylloc->last_column = t1 - karoto->argv;
+ if( t1 != karoto->ptrptr )
+ {
+ /* this is the last token */
+ p = karoto->ptrptr;
+ karoto->ptrptr = t1;
+ }
+ else
+ {
+ /* we are done. That was quick */
+ p = karoto->ptrptr;
+ yylloc->last_column = t1 - karoto->argv;
+ }
}
if( *p == 0 )
p = 0;
- Previous message: [Asterisk-cvs] zaptel wct4xxp.c,1.44,1.45 zaptel.c,1.72,1.73 zaptel.conf.sample,1.12,1.13 zaptel.h,1.31,1.32 ztcfg.c,1.14,1.15
- Next message: [Asterisk-cvs] zaptel zaptel.c,1.73,1.74
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list