Ignore:
Timestamp:
Jun 13, 2008, 5:01:50 AM (12 years ago)
Author:
orlov
Message:
  • UNDEFINED can't be concatenated with anything.
File:
1 edited

Legend:

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

    r3809 r3811  
    4343definition : DEF equation equation_rest ;
    4444
    45 equation : funname LPAR pattern_list RPAR EQ exp_with_where SC ;
     45equation : funname LPAR pattern_list RPAR EQ exp_with_where_or_undef SC ;
    4646
    4747equation_rest : /*empty*/
     
    7474
    7575exp : STRING exp_concat
    76     | UNDEFINED exp_concat
    7776    | IDENTIFIER exp_var_or_func exp_concat
    7877    | LPAR exp_with_where RPAR exp_concat
     
    8180
    8281exp_with_where : STRING exp_concat_or_where
    83                | UNDEFINED exp_concat_or_where
    8482               | IDENTIFIER exp_var_or_func exp_concat_or_where
    8583               | LPAR exp_with_where RPAR exp_concat_or_where
    8684               | IF exp_with_where THEN exp_with_where ELSE exp_with_where
    8785               ;
     86
     87exp_with_where_or_undef : UNDEFINED
     88                        | exp_with_where
     89                        ;
    8890
    8991exp_var_or_func : /*empty*/
Note: See TracChangeset for help on using the changeset viewer.