derives.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* Match rules with nonterminals for bison,
  2. Copyright (C) 1984, 1989, 2000-2002, 2009-2015, 2018-2021 Free
  3. Software Foundation, Inc.
  4. This file is part of Bison, the GNU Compiler Compiler.
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <https://www.gnu.org/licenses/>. */
  15. #ifndef DERIVES_H_
  16. # define DERIVES_H_
  17. # include "gram.h"
  18. /* DERIVES[SYMBOL - NTOKENS] points to a vector of the rules that
  19. SYMBOL derives, terminated with NULL. */
  20. extern rule ***derives;
  21. /* Compute DERIVES. */
  22. void derives_compute (void);
  23. void derives_free (void);
  24. #endif /* !DERIVES_H_ */