]> git.gag.com Git - fw/sdcc/blobdiff - as/z80/asdata.c
* as/z80/z80mch.c: fixed bug #1704376: missing as-z80 errors
[fw/sdcc] / as / z80 / asdata.c
index 59ddc13a4048e7d18f29aa7c4f31e06ab14525a7..69c5a3df4b4b2cd2cc5efee39bd63d9e12633304 100644 (file)
@@ -1,13 +1,20 @@
-/* asdata.c */
+/* asdata.c
 
-/*
- * (C) Copyright 1989-1995
- * All Rights Reserved
- *
- * Alan R. Baldwin
- * 721 Berkeley St.
- * Kent, Ohio  44240
- */
+   Copyright (C) 1989-1995 Alan R. Baldwin
+   721 Berkeley St., Kent, Ohio 44240
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3, or (at your option) any
+later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
 #include <stdio.h>
 #include <setjmp.h>
@@ -73,10 +80,14 @@ int     pass;           /*      assembler pass number
                          */
 int     lflag;          /*      -l, generate listing flag
                          */
+int     cflag;          /*      -c, generate sdcdb debug info
+                         */
 int     gflag;          /*      -g, make undefined symbols global flag
                          */
 int     aflag;          /*      -a, make all symbols global flag
                          */
+int     jflag;          /*      -j, generate debug information flag
+                         */
 int     oflag;          /*      -o, generate relocatable output flag
                          */
 int     sflag;          /*      -s, generate symbol table flag
@@ -101,10 +112,10 @@ char    *ep;            /*      pointer into error list
                          */
 char    eb[NERR];       /*      array of generated error codes
                          */
-char    *ip;            /*      pointer into the assembler-source
+const char *ip;         /*      pointer into the assembler-source
                          *      text line in ib[]
                          */
-char    ib[NINPUT];     /*      assembler-source text line
+const char *ib;         /*      assembler-source text line
                          */
 char    *cp;            /*      pointer to assembler output
                          *      array cb[]