1996-07-25 22:56:11 +00:00
|
|
|
|
/* classes: h_files */
|
|
|
|
|
|
|
2001-08-31 10:42:19 +00:00
|
|
|
|
#ifndef SCM_READ_H
|
|
|
|
|
|
#define SCM_READ_H
|
|
|
|
|
|
|
2006-04-17 00:05:42 +00:00
|
|
|
|
/* Copyright (C) 1995,1996,2000, 2006 Free Software Foundation, Inc.
|
2001-08-31 10:42:19 +00:00
|
|
|
|
*
|
2003-04-05 19:15:35 +00:00
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2001-08-31 10:42:19 +00:00
|
|
|
|
*
|
2003-04-05 19:15:35 +00:00
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
1996-07-25 22:56:11 +00:00
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2003-04-05 19:15:35 +00:00
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
|
* Lesser General Public License for more details.
|
2001-08-31 10:42:19 +00:00
|
|
|
|
*
|
2003-04-05 19:15:35 +00:00
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2005-05-23 19:57:22 +00:00
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2003-04-05 19:15:35 +00:00
|
|
|
|
*/
|
2001-08-31 10:42:19 +00:00
|
|
|
|
|
1996-07-25 22:56:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
* alist.h, append.h, arbiters.h, async.h, boolean.h, chars.h,
continuations.h, debug.h, dynwind.h, error.h, eval.h, fdsocket.h,
feature.h, filesys.h, fports.h, gc.h, gdbint.h, genio.h, gsubr.h,
hash.h, init.h, ioext.h, kw.h, list.h, markers.h, marksweep.h,
mbstrings.h, numbers.h, objprop.h, options.h, pairs.h, ports.h,
posix.h, print.h, procprop.h, procs.h, ramap.h, read.h, root.h,
sequences.h, smob.h, socket.h, srcprop.h, stackchk.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tag.h, throw.h, unif.h, variable.h, vectors.h, version.h,
vports.h, weaks.h: #include "libguile/__scm.h", not
<libguile/__scm.h>. This allows 'gcc -MM' to determine which
dependencies are within libguile properly.
1996-09-05 21:19:08 +00:00
|
|
|
|
#include "libguile/__scm.h"
|
1996-07-25 22:56:11 +00:00
|
|
|
|
|
1996-09-10 02:29:49 +00:00
|
|
|
|
#include "libguile/options.h"
|
1996-07-25 22:56:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* SCM_LINE_INCREMENTORS are the characters which cause the line count to
|
|
|
|
|
|
* be incremented for the purposes of error reporting. This feature
|
|
|
|
|
|
* is only used for scheme code loaded from files.
|
|
|
|
|
|
*
|
|
|
|
|
|
* SCM_WHITE_SPACES are other characters which should be treated like spaces
|
|
|
|
|
|
* in programs.
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#define SCM_LINE_INCREMENTORS '\n'
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef MSDOS
|
|
|
|
|
|
# define SCM_SINGLE_SPACES ' ':case '\r':case '\f': case 26
|
|
|
|
|
|
#else
|
|
|
|
|
|
# define SCM_SINGLE_SPACES ' ':case '\r':case '\f'
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#define SCM_WHITE_SPACES SCM_SINGLE_SPACES: case '\t'
|
|
|
|
|
|
|
* backtrace.c, debug.c, debug.h, deprecation.c, eq.c, eval.c
eval.h, gsubr.c, init.c, macros.c, print.c, print.h, read.c,
read.h, stacks.c, symbols.c, throw.c: use private-options.h
* private-options.h: new file: contain hardcoded option
definitions.
2007-01-22 15:14:40 +00:00
|
|
|
|
|
1996-08-20 17:11:34 +00:00
|
|
|
|
|
1996-07-25 22:56:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
2003-05-06 20:17:26 +00:00
|
|
|
|
SCM_API SCM scm_sym_dot;
|
|
|
|
|
|
|
2001-11-02 00:19:12 +00:00
|
|
|
|
SCM_API SCM scm_read_options (SCM setting);
|
|
|
|
|
|
SCM_API SCM scm_read (SCM port);
|
|
|
|
|
|
SCM_API char * scm_grow_tok_buf (SCM * tok_buf);
|
|
|
|
|
|
SCM_API int scm_flush_ws (SCM port, const char *eoferr);
|
|
|
|
|
|
SCM_API int scm_casei_streq (char * s1, char * s2);
|
|
|
|
|
|
SCM_API SCM scm_lreadr (SCM * tok_buf, SCM port, SCM *copy);
|
|
|
|
|
|
SCM_API size_t scm_read_token (int ic, SCM * tok_buf, SCM port, int weird);
|
|
|
|
|
|
SCM_API SCM scm_lreadrecparen (SCM * tok_buf, SCM port, char *name, SCM *copy);
|
|
|
|
|
|
SCM_API SCM scm_read_hash_extend (SCM chr, SCM proc);
|
2004-10-26 17:00:13 +00:00
|
|
|
|
|
|
|
|
|
|
SCM_API void scm_i_input_error (const char *func, SCM port,
|
|
|
|
|
|
const char *message, SCM arg);
|
|
|
|
|
|
|
2001-11-02 00:19:12 +00:00
|
|
|
|
SCM_API void scm_init_read (void);
|
1996-07-25 22:56:11 +00:00
|
|
|
|
|
2001-08-31 10:42:19 +00:00
|
|
|
|
#endif /* SCM_READ_H */
|
2000-03-19 19:01:16 +00:00
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
|
c-file-style: "gnu"
|
|
|
|
|
|
End:
|
|
|
|
|
|
*/
|