spug.nml.parse | index /home/mmuller/w/spug/nml/parse.py |
#==============================================================================
#
# $Id: parse.py 848 2004-10-02 01:08:06Z mike $
#
# Contains DocParser which parses an NML TextBlock out of a stream.
#
# Copyright (C) 1998 Michael A. Muller
#
# 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 2 of the License, 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, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# $Log: parse.py,v $
# Revision 1.10 2004/10/02 01:08:06 mike
# Fixed exception.
#
# Revision 1.9 2001/11/28 01:41:41 mike
# Fixes for 2.1
#
# Revision 1.8 2000/02/13 22:08:52 mike
# Doc fixes.
#
# Revision 1.7 1999/05/23 17:55:34 mike
# Fixed comments and added a warning message if block formatting constructs
# are discovered in a text formatting entry.
#
# Revision 1.6 1999/05/10 22:27:52 mike
# Definition terms can now safely contain embedded double-colons.
#
# Revision 1.5 1998/12/02 20:48:06 mike
# Added special syntax for level 1, 2, and 3 headers.
#
# Revision 1.4 1998/11/03 01:37:35 mike
# Improved error processing, fixed problem with block terminators.
#
# Revision 1.3 1998/08/14 15:26:32 mike
# Added support for parsing "exec" blocks.
#
# Revision 1.2 1998/06/14 00:40:39 mike
# Changed name of 'code' type to 'tele'.
#
# Revision 1.1 1998/06/11 01:27:27 mike
# Initial revision
#
#
#==============================================================================
Modules | ||||||
|
Classes | ||||||||||||||||||
|
Functions | ||
|
Data | ||
StringTypes = (<type 'str'>, <type 'unicode'>) special = <_sre.SRE_Pattern object at 0x401d8e30> |