-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2956/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 10932:0347c75836a0
---------------------------
ruby: slicc: use default argument value
Before this patch, while one could declare / define a function with default
argument values, but the actual function call would require one to specify
all the arguments.  This patch changes the check for  function arguments.
Now a function call needs to specify arguments that are at least as much as
those with default values and at most the total number of arguments taken
as input by the function.


Diffs
-----

  src/mem/slicc/ast/FormalParamAST.py 5c76426fd9ee 
  src/mem/slicc/ast/FuncDeclAST.py 5c76426fd9ee 
  src/mem/slicc/symbols/Func.py 5c76426fd9ee 

Diff: http://reviews.gem5.org/r/2956/diff/


Testing
-------


Thanks,

Nilay Vaish

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to