grammar.y (17684) | grammar.y (17749) |
---|---|
1%{ 2/* 3 * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that: (1) source code distributions 8 * retain the above copyright notice and this paragraph in its entirety, (2) --- 98 unchanged lines hidden (view full) --- 107%token ATALK DECNET LAT SCA MOPRC MOPDL 108%token TK_BROADCAST TK_MULTICAST 109%token NUM INBOUND OUTBOUND 110%token LINK 111%token GEQ LEQ NEQ 112%token ID EID HID 113%token LSH RSH 114%token LEN | 1%{ 2/* 3 * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that: (1) source code distributions 8 * retain the above copyright notice and this paragraph in its entirety, (2) --- 98 unchanged lines hidden (view full) --- 107%token ATALK DECNET LAT SCA MOPRC MOPDL 108%token TK_BROADCAST TK_MULTICAST 109%token NUM INBOUND OUTBOUND 110%token LINK 111%token GEQ LEQ NEQ 112%token ID EID HID 113%token LSH RSH 114%token LEN |
115%token ISO ESIS ISIS |
|
115 116%type <s> ID 117%type <e> EID 118%type <s> HID 119%type <i> NUM 120 121%left OR AND 122%nonassoc '!' --- 107 unchanged lines hidden (view full) --- 230 | IGMP { $$ = Q_IGMP; } 231 | IGRP { $$ = Q_IGRP; } 232 | ATALK { $$ = Q_ATALK; } 233 | DECNET { $$ = Q_DECNET; } 234 | LAT { $$ = Q_LAT; } 235 | SCA { $$ = Q_SCA; } 236 | MOPDL { $$ = Q_MOPDL; } 237 | MOPRC { $$ = Q_MOPRC; } | 116 117%type <s> ID 118%type <e> EID 119%type <s> HID 120%type <i> NUM 121 122%left OR AND 123%nonassoc '!' --- 107 unchanged lines hidden (view full) --- 231 | IGMP { $$ = Q_IGMP; } 232 | IGRP { $$ = Q_IGRP; } 233 | ATALK { $$ = Q_ATALK; } 234 | DECNET { $$ = Q_DECNET; } 235 | LAT { $$ = Q_LAT; } 236 | SCA { $$ = Q_SCA; } 237 | MOPDL { $$ = Q_MOPDL; } 238 | MOPRC { $$ = Q_MOPRC; } |
239 | ISO { $$ = Q_ISO; } 240 | ESIS { $$ = Q_ESIS; } 241 | ISIS { $$ = Q_ISIS; } |
|
238 ; 239other: pqual TK_BROADCAST { $$ = gen_broadcast($1); } 240 | pqual TK_MULTICAST { $$ = gen_multicast($1); } 241 | LESS NUM { $$ = gen_less($2); } 242 | GREATER NUM { $$ = gen_greater($2); } 243 | BYTE NUM byteop NUM { $$ = gen_byteop($3, $2, $4); } 244 | INBOUND { $$ = gen_inbound(0); } 245 | OUTBOUND { $$ = gen_inbound(1); } --- 36 unchanged lines hidden --- | 242 ; 243other: pqual TK_BROADCAST { $$ = gen_broadcast($1); } 244 | pqual TK_MULTICAST { $$ = gen_multicast($1); } 245 | LESS NUM { $$ = gen_less($2); } 246 | GREATER NUM { $$ = gen_greater($2); } 247 | BYTE NUM byteop NUM { $$ = gen_byteop($3, $2, $4); } 248 | INBOUND { $$ = gen_inbound(0); } 249 | OUTBOUND { $$ = gen_inbound(1); } --- 36 unchanged lines hidden --- |