listing.h revision 38889
133965Sjdp/* This file is listing.h 233965Sjdp Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 1997 333965Sjdp Free Software Foundation, Inc. 433965Sjdp 533965Sjdp This file is part of GAS, the GNU Assembler. 633965Sjdp 733965Sjdp GAS is free software; you can redistribute it and/or modify 833965Sjdp it under the terms of the GNU General Public License as published by 933965Sjdp the Free Software Foundation; either version 2, or (at your option) 1033965Sjdp any later version. 1133965Sjdp 1233965Sjdp GAS is distributed in the hope that it will be useful, 1333965Sjdp but WITHOUT ANY WARRANTY; without even the implied warranty of 1433965Sjdp MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1533965Sjdp GNU General Public License for more details. 1633965Sjdp 1733965Sjdp You should have received a copy of the GNU General Public License 1833965Sjdp along with GAS; see the file COPYING. If not, write to the Free 1933965Sjdp Software Foundation, 59 Temple Place - Suite 330, Boston, MA 2033965Sjdp 02111-1307, USA. */ 2133965Sjdp 2233965Sjdp#ifndef __listing_h__ 2333965Sjdp#define __listing_h__ 2433965Sjdp 2533965Sjdp#define LISTING_LISTING 1 2633965Sjdp#define LISTING_SYMBOLS 2 2733965Sjdp#define LISTING_NOFORM 4 2833965Sjdp#define LISTING_HLL 8 2933965Sjdp#define LISTING_NODEBUG 16 3033965Sjdp#define LISTING_NOCOND 32 3138889Sjdp#define LISTING_MACEXP 64 3233965Sjdp 3338889Sjdp#define LISTING_DEFAULT (LISTING_LISTING | LISTING_HLL | LISTING_SYMBOLS) 3433965Sjdp 3533965Sjdp#ifndef NO_LISTING 3638889Sjdp#define LISTING_NEWLINE() { if (listing) listing_newline(NULL); } 3733965Sjdp#else 3833965Sjdp#define LISTING_NEWLINE() {;} 3933965Sjdp#endif 4033965Sjdp 4133965Sjdp#define LISTING_SKIP_COND() ((listing & LISTING_NOCOND) != 0) 4233965Sjdp 4333965Sjdpvoid listing_eject PARAMS ((int)); 4433965Sjdpvoid listing_error PARAMS ((const char *message)); 4533965Sjdpvoid listing_file PARAMS ((const char *name)); 4633965Sjdpvoid listing_flags PARAMS ((int)); 4733965Sjdpvoid listing_list PARAMS ((int on)); 4833965Sjdpvoid listing_newline PARAMS ((char *ps)); 4933965Sjdpvoid listing_prev_line PARAMS ((void)); 5033965Sjdpvoid listing_print PARAMS ((char *name)); 5133965Sjdpvoid listing_psize PARAMS ((int)); 5233965Sjdpvoid listing_nopage PARAMS ((int)); 5333965Sjdpvoid listing_source_file PARAMS ((const char *)); 5433965Sjdpvoid listing_source_line PARAMS ((unsigned int)); 5533965Sjdpvoid listing_title PARAMS ((int depth)); 5633965Sjdpvoid listing_warning PARAMS ((const char *message)); 5733965Sjdpvoid listing_width PARAMS ((unsigned int x)); 5833965Sjdp 5938889Sjdpextern int listing_lhs_width; 6038889Sjdpextern int listing_lhs_width_second; 6138889Sjdpextern int listing_lhs_cont_lines; 6238889Sjdpextern int listing_rhs_width; 6338889Sjdp 6433965Sjdp#endif /* __listing_h__ */ 6533965Sjdp 6633965Sjdp/* end of listing.h */ 67