aicasm_gram.y (139749) | aicasm_gram.y (165628) |
---|---|
1%{ 2/*- 3 * Parser for the Aic7xxx SCSI Host adapter sequencer assembler. 4 * 5 * Copyright (c) 1997, 1998, 2000 Justin T. Gibbs. 6 * Copyright (c) 2001, 2002 Adaptec Inc. 7 * All rights reserved. 8 * --- 26 unchanged lines hidden (view full) --- 35 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 37 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 38 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 39 * POSSIBILITY OF SUCH DAMAGES. 40 * 41 * $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_gram.y#29 $ 42 * | 1%{ 2/*- 3 * Parser for the Aic7xxx SCSI Host adapter sequencer assembler. 4 * 5 * Copyright (c) 1997, 1998, 2000 Justin T. Gibbs. 6 * Copyright (c) 2001, 2002 Adaptec Inc. 7 * All rights reserved. 8 * --- 26 unchanged lines hidden (view full) --- 35 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 37 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 38 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 39 * POSSIBILITY OF SUCH DAMAGES. 40 * 41 * $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_gram.y#29 $ 42 * |
43 * $FreeBSD: head/sys/dev/aic7xxx/aicasm/aicasm_gram.y 139749 2005-01-06 01:43:34Z imp $ | 43 * $FreeBSD: head/sys/dev/aic7xxx/aicasm/aicasm_gram.y 165628 2006-12-29 13:08:46Z yar $ |
44 */ 45 46#include <sys/types.h> 47 48#include <inttypes.h> 49#include <regex.h> 50#include <stdio.h> 51#include <stdlib.h> --- 718 unchanged lines hidden (view full) --- 770| T_ARG 771 { 772 $$ = 1; 773 add_macro_arg($1, 0); 774 } 775| macro_arglist ',' T_ARG 776 { 777 if ($1 == 0) { | 44 */ 45 46#include <sys/types.h> 47 48#include <inttypes.h> 49#include <regex.h> 50#include <stdio.h> 51#include <stdlib.h> --- 718 unchanged lines hidden (view full) --- 770| T_ARG 771 { 772 $$ = 1; 773 add_macro_arg($1, 0); 774 } 775| macro_arglist ',' T_ARG 776 { 777 if ($1 == 0) { |
778 stop("Comma without preceeding argument in arg list", | 778 stop("Comma without preceding argument in arg list", |
779 EX_DATAERR); 780 /* NOTREACHED */ 781 } 782 $$ = $1 + 1; 783 add_macro_arg($3, $1); 784 } 785; 786 --- 1159 unchanged lines hidden --- | 779 EX_DATAERR); 780 /* NOTREACHED */ 781 } 782 $$ = $1 + 1; 783 add_macro_arg($3, $1); 784 } 785; 786 --- 1159 unchanged lines hidden --- |