X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fgrammar.git;a=blobdiff_plain;f=first.h;h=61f8b89cfac38e6ede04cf2d4b4cea7df01f0c11;hp=47a6200a584fd5d9fd41ee3afc5068e2d1ae325e;hb=HEAD;hpb=ccc2274465fa1d9c23dcb6fa8a85d5c99b949aa7 diff --git a/first.h b/first.h index 47a6200..61f8b89 100644 --- a/first.h +++ b/first.h @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2005 Thadeu Lima de Souza Cascardo + * + * 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., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + + + #ifndef FIRST_H #define FIRST_H @@ -6,5 +26,6 @@ GHashTable* grammar_first (grammar_t*); GList* first_get (GHashTable*, symbol_t*); GList* first_rule (GHashTable*, rule_t*); +void first_print (GHashTable*); #endif