X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fgrammar.git;a=blobdiff_plain;f=first.h;h=61f8b89cfac38e6ede04cf2d4b4cea7df01f0c11;hp=1f0794c85ba692e9b6869e7f96e555380eab4cea;hb=HEAD;hpb=760e66d5887cc5879a2a71d769536ef6fe1e3662 diff --git a/first.h b/first.h index 1f0794c..61f8b89 100644 --- a/first.h +++ b/first.h @@ -1,9 +1,31 @@ +/* + * 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 #include -GHashTable* grammar_first (Grammar*); +GHashTable* grammar_first (grammar_t*); GList* first_get (GHashTable*, symbol_t*); +GList* first_rule (GHashTable*, rule_t*); +void first_print (GHashTable*); #endif