listing.h revision 38889
1238384Sjkim/* This file is listing.h 2238384Sjkim Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 1997 3238384Sjkim Free Software Foundation, Inc. 4238384Sjkim 5238384Sjkim This file is part of GAS, the GNU Assembler. 6238384Sjkim 7238384Sjkim GAS is free software; you can redistribute it and/or modify 8238384Sjkim it under the terms of the GNU General Public License as published by 9238384Sjkim the Free Software Foundation; either version 2, or (at your option) 10238384Sjkim any later version. 11238384Sjkim 12238384Sjkim GAS is distributed in the hope that it will be useful, 13238384Sjkim but WITHOUT ANY WARRANTY; without even the implied warranty of 14238384Sjkim MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15238384Sjkim GNU General Public License for more details. 16238384Sjkim 17238384Sjkim You should have received a copy of the GNU General Public License 18238384Sjkim along with GAS; see the file COPYING. If not, write to the Free 19238384Sjkim Software Foundation, 59 Temple Place - Suite 330, Boston, MA 20238384Sjkim 02111-1307, USA. */ 21238384Sjkim 22238384Sjkim#ifndef __listing_h__ 23238384Sjkim#define __listing_h__ 24238384Sjkim 25238384Sjkim#define LISTING_LISTING 1 26238384Sjkim#define LISTING_SYMBOLS 2 27238384Sjkim#define LISTING_NOFORM 4 28238384Sjkim#define LISTING_HLL 8 29238384Sjkim#define LISTING_NODEBUG 16 30238384Sjkim#define LISTING_NOCOND 32 31238384Sjkim#define LISTING_MACEXP 64 32238384Sjkim 33238384Sjkim#define LISTING_DEFAULT (LISTING_LISTING | LISTING_HLL | LISTING_SYMBOLS) 34238384Sjkim 35238384Sjkim#ifndef NO_LISTING 36238384Sjkim#define LISTING_NEWLINE() { if (listing) listing_newline(NULL); } 37238384Sjkim#else 38238384Sjkim#define LISTING_NEWLINE() {;} 39238384Sjkim#endif 40238384Sjkim 41238384Sjkim#define LISTING_SKIP_COND() ((listing & LISTING_NOCOND) != 0) 42238384Sjkim 43238384Sjkimvoid listing_eject PARAMS ((int)); 44238384Sjkimvoid listing_error PARAMS ((const char *message)); 45238384Sjkimvoid listing_file PARAMS ((const char *name)); 46238384Sjkimvoid listing_flags PARAMS ((int)); 47238384Sjkimvoid listing_list PARAMS ((int on)); 48238384Sjkimvoid listing_newline PARAMS ((char *ps)); 49238384Sjkimvoid listing_prev_line PARAMS ((void)); 50238384Sjkimvoid listing_print PARAMS ((char *name)); 51238384Sjkimvoid listing_psize PARAMS ((int)); 52238384Sjkimvoid listing_nopage PARAMS ((int)); 53238384Sjkimvoid listing_source_file PARAMS ((const char *)); 54238384Sjkimvoid listing_source_line PARAMS ((unsigned int)); 55238384Sjkimvoid listing_title PARAMS ((int depth)); 56238384Sjkimvoid listing_warning PARAMS ((const char *message)); 57238384Sjkimvoid listing_width PARAMS ((unsigned int x)); 58238384Sjkim 59238384Sjkimextern int listing_lhs_width; 60238384Sjkimextern int listing_lhs_width_second; 61238384Sjkimextern int listing_lhs_cont_lines; 62238384Sjkimextern int listing_rhs_width; 63238384Sjkim 64238384Sjkim#endif /* __listing_h__ */ 65238384Sjkim 66238384Sjkim/* end of listing.h */ 67238384Sjkim