ipscan_y.y (145519) | ipscan_y.y (170268) |
---|---|
1/* $FreeBSD: head/contrib/ipfilter/tools/ipscan_y.y 145519 2005-04-25 18:20:15Z darrenr $ */ | 1/* $FreeBSD: head/contrib/ipfilter/tools/ipscan_y.y 170268 2007-06-04 02:54:36Z darrenr $ */ |
2 | 2 |
3/* 4 * Copyright (C) 2001-2004 by Darren Reed. 5 * 6 * See the IPFILTER.LICENCE file for details on licencing. 7 */ |
|
3%{ 4#include <sys/types.h> 5#include <sys/ioctl.h> 6#include "ipf.h" 7#include "opts.h" 8#include "kmem.h" 9#include "ipscan_l.h" 10#include "netinet/ip_scan.h" --- 78 unchanged lines hidden (view full) --- 89 | csline 90 ; 91 92assign: YY_STR assigning YY_STR 93 { set_variable($1, $3); 94 resetlexer(); 95 free($1); 96 free($3); | 8%{ 9#include <sys/types.h> 10#include <sys/ioctl.h> 11#include "ipf.h" 12#include "opts.h" 13#include "kmem.h" 14#include "ipscan_l.h" 15#include "netinet/ip_scan.h" --- 78 unchanged lines hidden (view full) --- 94 | csline 95 ; 96 97assign: YY_STR assigning YY_STR 98 { set_variable($1, $3); 99 resetlexer(); 100 free($1); 101 free($3); |
102 yyvarnext = 0; |
|
97 } 98 ; 99 100assigning: 101 '=' { yyvarnext = 1; } 102 ; 103 104cline: tag ':' matchup '=' action { addtag($1, $3, NULL, &$5); } --- 461 unchanged lines hidden --- | 103 } 104 ; 105 106assigning: 107 '=' { yyvarnext = 1; } 108 ; 109 110cline: tag ':' matchup '=' action { addtag($1, $3, NULL, &$5); } --- 461 unchanged lines hidden --- |