Changeset 4114 for devel-tools


Ignore:
Timestamp:
Dec 14, 2009, 9:40:56 PM (11 years ago)
Author:
yura
Message:
 
Location:
devel-tools/trunk/LL1GrammarAnalyzers/LL1Grammars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/LL1GrammarAnalyzers/LL1Grammars/Rf5LLGr.f

    r4113 r4114  
    2020sentences ->
    2121  (CHAR | COMMA | EQ | LANGU | LPAR |
    22   NUMB | VAR | WORD)
     22  NUM | REALNUM | VAR | WORD)
    2323sc_sentences ->
    2424  (SC)
    2525sentence ->
    2626  (CHAR | COMMA | EQ | LANGU | LPAR |
    27   NUMB | VAR | WORD)
     27  NUM | REALNUM | VAR | WORD)
    2828conditions ->
    2929  (COMMA | EQ)
    3030conditions2 ->
    3131  (CHAR | COMMA | EQ | LANGU | LCURL |
    32   LPAR | NUMB | VAR | WORD)
     32  LPAR | NUM | REALNUM | VAR | WORD)
    3333exp ->
    34   (CHAR | LANGU | LPAR | NUMB | VAR |
    35   WORD)
     34  (CHAR | LANGU | LPAR | NUM | REALNUM |
     35  VAR | WORD)
    3636exp_head ->
    37   (CHAR | LANGU | LPAR | NUMB | VAR |
    38   WORD)
     37  (CHAR | LANGU | LPAR | NUM | REALNUM |
     38  VAR | WORD)
    3939static_symbol ->
    40   (CHAR | NUMB | WORD)
     40  (CHAR | NUM | REALNUM | WORD)
    4141name ->
    4242  (WORD)
     
    101101     /* empty */
    102102| (CHAR | COMMA | EQ | LANGU | LPAR |
    103   NUMB | VAR | WORD)
     103  NUM | REALNUM | VAR | WORD)
    104104     sentence #sc_sentences
    105105;
     
    114114sentence
    115115: (CHAR | COMMA | EQ | LANGU | LPAR |
    116   NUMB | VAR | WORD)
     116  NUM | REALNUM | VAR | WORD)
    117117     #exp conditions
    118118;
     
    127127conditions2
    128128: (CHAR | COMMA | EQ | LANGU | LPAR |
    129   NUMB | VAR | WORD)
     129  NUM | REALNUM | VAR | WORD)
    130130     #exp conditions
    131131| (LCURL)
     
    137137  RPAR | SC)
    138138     /* empty */
    139 | (CHAR | LANGU | LPAR | NUMB | VAR |
    140   WORD)
     139| (CHAR | LANGU | LPAR | NUM | REALNUM |
     140  VAR | WORD)
    141141     exp_head #exp
    142142;
    143143
    144144exp_head
    145 : (CHAR | NUMB | WORD)
     145: (CHAR | NUM | REALNUM | WORD)
    146146     static_symbol
    147147| (LPAR)
     
    158158| (WORD)
    159159     WORD
    160 | (NUMB)
    161      NUMB
     160| (NUM)
     161     NUM
     162| (REALNUM)
     163     REALNUM
    162164;
    163165
  • devel-tools/trunk/LL1GrammarAnalyzers/LL1Grammars/Rf5LLGr.g

    r4113 r4114  
    77/*      gr.exe rfpllgr.g >rfpllgr.f                              */
    88
    9 %token SC COMMA
     9%token EXTERN ENTRY
     10%token SC COL COMMA EQ
     11
    1012%token LPAR RPAR
    1113%token LANGU RANGU
    1214%token LCURL RCURL
    1315
    14 %token MODULE
     16%token VAR
     17%token CHAR WORD NUM REALNUM
    1518
    16 %token USE
    17 
    18 %token PUBLIC
    19 
    20 %token OBJ_DECL FUNC_DECL MATCH_DIR
    21 
    22 %token NATIVE
    23 
    24 %token CONST FAIL ITER
    25 %token TRAP WITH
    26 
    27 %token COL COL_CURL LET NOT EQL REF
    28 
    29 %token FENCE CUT ERROR
    30 
    31 %token TRACE_ALL
    32 
    33 %token CHAR WORD NUMB
    34 %token VAR
    35 
    36 %token INTERFACE IMPLEMENTATION
    37 
    38 %token EXTERN ENTRY EQ
    3919
    4020%%
     
    11191        :       CHAR
    11292        |       WORD
    113         |       NUMB
     93        |       NUM
     94        |       REALNUM
    11495        ;
    11596
Note: See TracChangeset for help on using the changeset viewer.