summaryrefslogtreecommitdiff
path: root/web/funnelAC/sources/parser.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/funnelAC/sources/parser.h
Initial commit
Diffstat (limited to 'web/funnelAC/sources/parser.h')
-rw-r--r--web/funnelAC/sources/parser.h65
1 files changed, 65 insertions, 0 deletions
diff --git a/web/funnelAC/sources/parser.h b/web/funnelAC/sources/parser.h
new file mode 100644
index 0000000000..687a5bbf23
--- /dev/null
+++ b/web/funnelAC/sources/parser.h
@@ -0,0 +1,65 @@
+/*##############################################################################
+
+FUNNNELWEB COPYRIGHT
+====================
+FunnelWeb is a literate-programming macro preprocessor.
+
+Copyright (C) 1992 Ross N. Williams.
+
+ Ross N. Williams
+ ross@spam.adelaide.edu.au
+ 16 Lerwick Avenue, Hazelwood Park 5066, Australia.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of Version 2 of the GNU General Public License as
+published by the Free Software Foundation.
+
+This program is distributed WITHOUT ANY WARRANTY; without even the implied
+warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+See Version 2 of the GNU General Public License for more details.
+
+You should have received a copy of Version 2 of the GNU General Public
+License along with this program. If not, you can FTP the license from
+prep.ai.mit.edu/pub/gnu/COPYING-2 or write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+Section 2a of the license requires that all changes to this file be
+recorded prominently in this file. Please record all changes here.
+
+Programmers:
+ RNW Ross N. Williams ross@spam.adelaide.edu.au
+
+Changes:
+ 07-May-1992 RNW Program prepared for release under GNU GPL V2.
+
+##############################################################################*/
+
+
+/******************************************************************************/
+/* PARSER.H */
+/******************************************************************************/
+/* */
+/* The FunnelWeb parser parses the tokens in the global token list and */
+/* constructs a macro table and a document list. These two data structures */
+/* give structured views of the input document which are used later by tangle */
+/* and weave. If the parser detects any errors it sends them to the lister */
+/* package. If any errors have occurred, the output of the parser should not */
+/* be used. */
+/* */
+/* IN : token_list - List of tokens to be parsed. */
+/* OUT: macro_table - Table of macros parsed. */
+/* file_table - Table indicating which macros are attached to files. */
+/* document_list - List giving a structured view of the document. */
+/* Also sends diagnostic messages to the lister. */
+/* */
+/******************************************************************************/
+
+#include "style.h"
+
+/******************************************************************************/
+
+EXPORT void parser P_((void));
+
+/******************************************************************************/
+/* End of PARSER.H */
+/******************************************************************************/