lex.yy.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * This program is free software: you can redistribute it and/or modify
  3. * it under the terms of the GNU General Public License as published by
  4. * the Free Software Foundation, either version 3 of the License, or
  5. * (at your option) any later version.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. *
  12. * You should have received a copy of the GNU General Public License
  13. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. *
  15. * SPDX-License-Identifier: GPL-3.0+
  16. * License-Filename: LICENSE
  17. */
  18. #ifndef LEX_YY_H
  19. #define LEX_YY_H 1
  20. #undef __BEGIN_DECLS
  21. #undef __END_DECLS
  22. #ifdef __cplusplus
  23. #define __BEGIN_DECLS extern "C" {
  24. #define __END_DECLS }
  25. #else
  26. #define __BEGIN_DECLS /* empty */
  27. #define __END_DECLS /* empty */
  28. #endif
  29. /* */
  30. extern char *yytext;
  31. /* */
  32. extern int yylineno;
  33. /* */
  34. extern int yyparse(void);
  35. __BEGIN_DECLS
  36. /* */
  37. extern void dp_lex_init(gzFile f, int debug);
  38. /* */
  39. extern void dp_lex_deinit(void);
  40. /* */
  41. extern void dp_yydebug(int debugflag);
  42. __END_DECLS
  43. #endif
  44. /* end */