[asterisk-commits] murf: branch murf/fast-ast r43530 - /team/murf/fast-ast/main/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Sep 22 17:09:44 MST 2006


Author: murf
Date: Fri Sep 22 19:09:44 2006
New Revision: 43530

URL: http://svn.digium.com/view/asterisk?rev=43530&view=rev
Log:
A few more updates

Modified:
    team/murf/fast-ast/main/ast_var.fl
    team/murf/fast-ast/main/ast_var.y

Modified: team/murf/fast-ast/main/ast_var.fl
URL: http://svn.digium.com/view/asterisk/team/murf/fast-ast/main/ast_var.fl?rev=43530&r1=43529&r2=43530&view=diff
==============================================================================
--- team/murf/fast-ast/main/ast_var.fl (original)
+++ team/murf/fast-ast/main/ast_var.fl Fri Sep 22 19:09:44 2006
@@ -19,7 +19,7 @@
 
 /*! \file
  *
- * \brief Dialplan Expression Lexical Scanner
+ * \brief Grand Unified Dialplan Expression Lexical Scanner
  */
 
 #include "asterisk.h"

Modified: team/murf/fast-ast/main/ast_var.y
URL: http://svn.digium.com/view/asterisk/team/murf/fast-ast/main/ast_var.y?rev=43530&r1=43529&r2=43530&view=diff
==============================================================================
--- team/murf/fast-ast/main/ast_var.y (original)
+++ team/murf/fast-ast/main/ast_var.y Fri Sep 22 19:09:44 2006
@@ -141,16 +141,16 @@
 			   | stringpartlist TOK_PLUS stringpart {}
                ;
 
-stringpart : varref {}
-           | expression {}
-           | Stringconst {}
+stringpart : varref {$$=$1;}
+           | expression {$$=$1;}
+           | Stringconst {$$=$1;}
            ;
 
 
-varref : BEGIN_VARREF TOK_LCURLY  thing TOK_RCURLY {}
+varref : BEGIN_VARREF TOK_LCURLY  thing TOK_RCURLY {$$=$3;}
        ;
 
-expression : BEGIN_EXPRESSION TOK_LBRACK expr TOK_RBRACK {}
+expression : BEGIN_EXPRESSION TOK_LBRACK expr TOK_RBRACK {$$=$3;}
            ;
 
 



More information about the asterisk-commits mailing list