Ignore:
Timestamp:
Jun 2, 2008, 3:23:39 PM (13 years ago)
Author:
orlov
Message:
  • Some small fixes to the grammar.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/trunk/LFC/lfc.grammar

    r3788 r3798  
    1515%%
    1616
    17 program : function_dec var_dec_and_func_def ;
     17program : function_dec var_dec_and_func_def program_rest ;
    1818
    19 function_dec : DEC funname COLON function_type ;
     19program_rest : /*empty*/
     20             | program
     21             ;
     22
     23function_dec : DEC funname COLON function_type SC ;
    2024
    2125var_dec_and_func_def : variable_dec definition
Note: See TracChangeset for help on using the changeset viewer.