Changeset 4126 for devel-tools/trunk


Ignore:
Timestamp:
Dec 18, 2009, 3:57:44 PM (11 years ago)
Author:
yura
Message:
  • Using COL_CURL.
Location:
devel-tools/trunk/LL1GrammarAnalyzers/LL1Grammars
Files:
2 edited

Legend:

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

    r4119 r4126  
    2929  (COMMA | EQL)
    3030conditions2 ->
    31   (CHAR | COMMA | EQL | LANGU | LCURL |
    32   LPAR | NUMB | VAR | WORD)
     31  (COL | COL_CURL)
    3332exp ->
    3433  (CHAR | LANGU | LPAR | NUMB | VAR |
     
    5655  (RCURL)
    5756exp ->
    58   (COL | COMMA | EQL | RANGU | RCURL |
    59   RPAR | SC)
     57  (COL | COL_CURL | COMMA | EQL | RANGU |
     58  RCURL | RPAR | SC)
    6059
    6160
     
    120119conditions
    121120: (COMMA)
    122      COMMA #exp COL conditions2
     121     COMMA #exp conditions2
    123122| (EQL)
    124123     EQL #exp
     
    126125
    127126conditions2
    128 : (CHAR | COMMA | EQL | LANGU | LPAR |
    129   NUMB | VAR | WORD)
    130      #exp conditions
    131 | (LCURL)
    132      block
     127: (COL)
     128     COL #exp conditions
     129| (COL_CURL)
     130     COL_CURL block
    133131;
    134132
    135133#exp
    136 : (COL | COMMA | EQL | RANGU | RCURL |
    137   RPAR | SC)
     134: (COL | COL_CURL | COMMA | EQL | RANGU |
     135  RCURL | RPAR | SC)
    138136     /* empty */
    139137| (CHAR | LANGU | LPAR | NUMB | VAR |
  • devel-tools/trunk/LL1GrammarAnalyzers/LL1Grammars/Rf5LLGr.g

    r4119 r4126  
    99%token EXTERNAL ENTRY
    1010
    11 %token SC COL COMMA EQL
     11%token SC COL COL_CURL COMMA EQL
    1212
    1313%token LPAR RPAR
     
    6464
    6565conditions
    66         :       COMMA exp COL conditions2
     66        :       COMMA exp conditions2
    6767        |       EQL exp
    6868        ;
    6969
    7070conditions2
    71         :       exp conditions
    72         |       block   
     71        :       COL exp conditions
     72        |       COL_CURL block 
    7373        ;
    7474
Note: See TracChangeset for help on using the changeset viewer.