LineLoader - used by FScript to load source text
Copyright (C) 2000 murlen.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
author: murlen author: Joachim Van der Auwera version: 1.12 version: changes by Joachim Van der Auwera version: 20.08.2001 version: - getLine added version: - setCurLine test was wrong, allowed setting line one too far version: 02.08.2002 version: - allow commands to be split over multiple line by using the "..." continuation mark version: 07.10.2002 version: - do not join lines when the ... is at the end of a comment version: 08.11.2002 but do join them when the hash is inside a quote (and does not indicate a comment) version: 17.09.2003 moved checking for mismatched quotes and brackets here version: 24.11.2003 (jvda) use char[] instead of String to store lines |