Deleted Added
full compact
aicasm.c (23991) aicasm.c (24794)
1/*
2 * Aic7xxx SCSI host adapter firmware asssembler
3 *
4 * Copyright (c) 1997 Justin T. Gibbs.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 14 unchanged lines hidden (view full) ---

23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
1/*
2 * Aic7xxx SCSI host adapter firmware asssembler
3 *
4 * Copyright (c) 1997 Justin T. Gibbs.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 14 unchanged lines hidden (view full) ---

23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 * $Id: aic7xxx_asm.c,v 1.15 1997/03/16 07:08:15 gibbs Exp $
31 * $Id: aic7xxx_asm.c,v 1.16 1997/03/18 19:18:39 gibbs Exp $
32 */
33#include <sys/types.h>
34#include <sys/mman.h>
35
36#include <stdio.h>
37#include <stdlib.h>
38#include <string.h>
39#include <sysexits.h>

--- 30 unchanged lines hidden (view full) ---

70
71int
72main(argc, argv)
73 int argc;
74 char *argv[];
75{
76 extern char *optarg;
77 extern int optind;
32 */
33#include <sys/types.h>
34#include <sys/mman.h>
35
36#include <stdio.h>
37#include <stdlib.h>
38#include <string.h>
39#include <sysexits.h>

--- 30 unchanged lines hidden (view full) ---

70
71int
72main(argc, argv)
73 int argc;
74 char *argv[];
75{
76 extern char *optarg;
77 extern int optind;
78 int ch;
78 int ch;
79 int retval;
80 char *inputfilename;
81 char *regfilename;
82 FILE *regfile;
83 char *listfilename;
84 FILE *listfile;
85 char *options;
86

--- 4 unchanged lines hidden (view full) ---

91 includes_search_curdir = 1;
92 appname = *argv;
93 regfile = NULL;
94 listfile = NULL;
95 options = NULL;
96#if DEBUG
97 yy_flex_debug = 0;
98#endif
79 int retval;
80 char *inputfilename;
81 char *regfilename;
82 FILE *regfile;
83 char *listfilename;
84 FILE *listfile;
85 char *options;
86

--- 4 unchanged lines hidden (view full) ---

91 includes_search_curdir = 1;
92 appname = *argv;
93 regfile = NULL;
94 listfile = NULL;
95 options = NULL;
96#if DEBUG
97 yy_flex_debug = 0;
98#endif
99 while ((ch = getopt(argc, argv, "d:l:n:o:r:I:O:")) != EOF) {
99 while ((ch = getopt(argc, argv, "d:l:n:o:r:I:O:")) != -1) {
100 switch(ch) {
101 case 'd':
102#if DEBUG
103 if (strcmp(optarg, "s") == 0)
104 yy_flex_debug = 1;
105 else if (strcmp(optarg, "p") == 0)
106 yydebug = 1;
107#else

--- 375 unchanged lines hidden ---
100 switch(ch) {
101 case 'd':
102#if DEBUG
103 if (strcmp(optarg, "s") == 0)
104 yy_flex_debug = 1;
105 else if (strcmp(optarg, "p") == 0)
106 yydebug = 1;
107#else

--- 375 unchanged lines hidden ---