comparison src/main.c @ 102:dbf1b926c2f1

Made listings off be default
author lost
date Fri, 23 Jan 2009 04:42:39 +0000
parents c8c772ef5df9
children 36ca3fa755e0
comparison
equal deleted inserted replaced
101:f59c0916753d 102:dbf1b926c2f1
151 { 151 {
152 // assembler state 152 // assembler state
153 asmstate_t asmstate = { 0 }; 153 asmstate_t asmstate = { 0 };
154 154
155 argp_parse(&argp, argc, argv, 0, 0, &asmstate); 155 argp_parse(&argp, argc, argv, 0, 0, &asmstate);
156 if (!asmstate.listfile)
157 asmstate.listfile = "-";
158 156
159 if (!asmstate.infile) 157 if (!asmstate.infile)
160 { 158 {
161 fprintf(stderr, "No input files specified.\n"); 159 fprintf(stderr, "No input files specified.\n");
162 exit(1); 160 exit(1);