Changeset 2716


Ignore:
Timestamp:
Apr 19, 2007, 3:15:48 AM (14 years ago)
Author:
orlov
Message:
  • Throw up errors from parser when we are called from Java.
Location:
to-imperative/trunk/compiler
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/compiler/rfp_format.rf

    r2638 r2716  
    4747      (VAR t.name) = $fail;
    4848      (s.VariableTag e) = (s.VariableTag); // s.VariableTag ::= SVAR | TVAR
    49     } :: e.first_format =          //         | VVAR | EVAR
     49    } :: e.first_format =                                        //                 | VVAR | EVAR
    5050    e.first_format <Format_Exp e.rest>;
    5151  = ;
  • to-imperative/trunk/compiler/rfp_parse.rf

    r2715 r2716  
    186186
    187187RFP_Parser t.fileId =
     188  <Store &Errors>,
    188189  <Store &Token_Stack>,
    189190  <ClearTable &ImplemNames>,
  • to-imperative/trunk/compiler/rfpc.rf

    r2674 r2716  
    7070CompileModule s.env =
    7171  <RFP_Src_InitFromEnv s.env>,
    72   <RFP_Parser <GetModuleName s.env>> : (s t.ModuleName e.Items),
     72  {
     73    <RFP_Parser <GetModuleName s.env>>;
     74    $error <RFP_Parser_Errors>;
     75  } : (s t.ModuleName e.Items),
    7376  <Get_Ready_For_Compilation e.Items>,
    7477  <RFP_Check e.Items>,
Note: See TracChangeset for help on using the changeset viewer.