X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom%2Fgedcom_lohi.lex;h=d6092a6d67d158c3bb2e9a8c7baf27b53dc72826;hb=1168a90285ca948ed7398adc364324339814aea1;hp=badd835d4015f7a74c80e12a6c4b0e67a8557916;hpb=5ccbb379e3a1dcd822eef3ae9d11804980377a8f;p=gedcom-parse.git diff --git a/gedcom/gedcom_lohi.lex b/gedcom/gedcom_lohi.lex index badd835..d6092a6 100644 --- a/gedcom/gedcom_lohi.lex +++ b/gedcom/gedcom_lohi.lex @@ -1,11 +1,22 @@ -/* 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. * - - (C) 2001 by The Genes Development Team - Original author: Peter Verthez (Peter.Verthez@advalvas.be) -*/ +/* Lexer for Unicode encoding (low-high order) of Gedcom. + Copyright (C) 2001 The Genes Development Team + This file is part of the Gedcom parser library. + Contributed by Peter Verthez , 2001. + + The Gedcom parser 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. + + The Gedcom parser 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the Gedcom parser library; if not, write to the + Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ /* $Id$ */ /* $Name$ */ @@ -29,6 +40,7 @@ delim \x20\x00 tab [\t]\x00 hash #\x00 literal_at @\x00@\x00 +normal_at @\x00 otherchar [\x21-\x22\x24-\x2F\x3A-\x3F\x5B-\x5E\x60\x7B-\x7E\x80-\xFF]\x00|[\x00-\xFF][\x01-\xFF] terminator \x0D\x00|\x0A\x00|\x0D\x00\x0A\x00|\x0A\x00\x0D\x00 @@ -201,6 +213,8 @@ ACTION_BEFORE_REGEXPS <> ACTION_EOF +{normal_at} ACTION_NORMAL_AT + . ACTION_UNEXPECTED %%