Diff of /src/lib/compiler/parser.yy [3e7ba3] .. [d14479]  Maximize  Restore

Switch to side-by-side view

--- a/src/lib/compiler/parser.yy
+++ b/src/lib/compiler/parser.yy
@@ -171,11 +171,15 @@
 }
 ;
 
-determ_relation: var ARROW expression {
+assignment: ARROW 
+| '='
+;
+
+determ_relation: var assignment expression {
     $$ = new ParseTree(jags::P_DETRMREL, yylineno);
     setParameters($$, $1, $3);
 } 
-| FUNC '(' var ')' ARROW expression {
+| FUNC '(' var ')' assignment expression {
 
   /* 
      The link function is given using an S-style replacement function

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks