Changeset 13692
- Timestamp:
- Oct 8, 2019 9:49:20 AM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev-mj-5847/Compiler/ModelicaFrontEnd/src/parser/Modelica.parser
r13655 r13692 1595 1595 1596 1596 List arg_list_p = 1597 emptyArray {: return new List().add(emptyArray); :}1598 1597 function_argument_exp {: return new List().add(function_argument_exp); :} 1599 1598 | arg_list_p COMMA function_argument_exp {: return arg_list_p.add(function_argument_exp); :} 1600 | arg_list_p COMMA emptyArray1601 {: return arg_list_p.add(emptyArray); :}1602 1599 ; 1603 1600 … … 1727 1724 :} 1728 1725 ; 1729 1730 SrcArrayConstructor emptyArray =1731 LBRACE RBRACE1732 {:1733 return new SrcArrayConstructor(1734 new SrcFunctionArguments(new List(), new List())1735 );1736 :}1737 | LBRACE emptyArray RBRACE1738 {:1739 return new SrcArrayConstructor(1740 new SrcFunctionArguments(new List().add(emptyArray), new List())1741 );1742 :}1743 ;
Note: See TracChangeset
for help on using the changeset viewer.