aicasm_macro_gram.y (139749) | aicasm_macro_gram.y (165628) |
---|---|
1%{ 2/*- 3 * Sub-parser for macro invocation in the Aic7xxx SCSI 4 * Host adapter sequencer assembler. 5 * 6 * Copyright (c) 2001 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_macro_gram.y#5 $ 42 * | 1%{ 2/*- 3 * Sub-parser for macro invocation in the Aic7xxx SCSI 4 * Host adapter sequencer assembler. 5 * 6 * Copyright (c) 2001 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_macro_gram.y#5 $ 42 * |
43 * $FreeBSD: head/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y 139749 2005-01-06 01:43:34Z imp $ | 43 * $FreeBSD: head/sys/dev/aic7xxx/aicasm/aicasm_macro_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> --- 57 unchanged lines hidden (view full) --- 109| T_ARG 110 { 111 $$ = 1; 112 add_macro_arg($1, 1); 113 } 114| macro_arglist ',' T_ARG 115 { 116 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> --- 57 unchanged lines hidden (view full) --- 109| T_ARG 110 { 111 $$ = 1; 112 add_macro_arg($1, 1); 113 } 114| macro_arglist ',' T_ARG 115 { 116 if ($1 == 0) { |
117 stop("Comma without preceeding argument in arg list", | 117 stop("Comma without preceding argument in arg list", |
118 EX_DATAERR); 119 /* NOTREACHED */ 120 } 121 $$ = $1 + 1; 122 add_macro_arg($3, $$); 123 } 124; 125 --- 39 unchanged lines hidden --- | 118 EX_DATAERR); 119 /* NOTREACHED */ 120 } 121 $$ = $1 + 1; 122 add_macro_arg($3, $$); 123 } 124; 125 --- 39 unchanged lines hidden --- |