Revision 1615 trunk/src/nh99/tpl2cpp.lex

tpl2cpp.lex (revision 1615)
586 586

  
587 587
<DEFINE_DATA>init_number {
588 588
    likelihood_found=1;
589
    BEGIN IN_NUMBER_DEF;
589
    BEGIN INIT_BOUNDED_NUMBER_DEF;
590 590
    fprintf(fdat,"%s","  data_number ");
591 591
                     }
592 592

  
593
<DEFINE_DATA>init_xml_doc {
594
    BEGIN IN_NUMBER_DEF;
595
    fprintf(fdat,"%s","  init_xml_doc ");
596
                     }
597

  
593 598
<DEFINE_DATA>init_adstring {
594 599

  
595 600
    BEGIN IN_NUMBER_DEF;
......
1789 1794
<IN_VECTOR_DEF>{name}\({num_exp},{num_exp}\) |
1790 1795
<IN_VECTOR_DEF>{name}\({num_exp},{name}\) |
1791 1796
<IN_VECTOR_DEF>{name}\({name},{num_exp}\) |
1792
<IN_VECTOR_DEF>{name}\({name},{name}\) {
1797
<IN_VECTOR_DEF>{name}\({name},{name}\) |
1798
<IN_VECTOR_DEF>({name}\({name}\)) {
1793 1799

  
1794 1800
    before_part(tmp_string,yytext,'(');  // get x in x(1,4)
1795 1801
    fprintf(fdat,"%s",tmp_string);
......
2175 2181
                            }
2176 2182

  
2177 2183
<IN_MATRIX_DEF>{name}\({num_exp},{num_exp},{num_exp},{num_exp}\) |
2178
<IN_MATRIX_DEF>{name}\({num_exp},{num_exp},{num_exp},{num_exp},{num_exp}\) {
2184
<IN_MATRIX_DEF>{name}\({num_exp},{num_exp},{num_exp},{num_exp},{num_exp}\) |
2185
<IN_MATRIX_DEF>({name}\({name}\)) {
2179 2186

  
2180 2187
    before_part(tmp_string,yytext,'(');  // get x in x(1,4)
2181 2188
    fprintf(fdat,"%s",tmp_string);

Also available in: Unified diff