fpd.h 811 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * fpd.c - Things fpd.l and fpd.y export
  3. *
  4. * Written 2009, 2012 by Werner Almesberger
  5. * Copyright 2009, 2012 by Werner Almesberger
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. */
  12. #ifndef FPD_H
  13. #define FPD_H
  14. #include "expr.h"
  15. #include "obj.h"
  16. extern struct expr *expr_result;
  17. extern const char *var_id;
  18. extern struct value *var_value_list;
  19. int dbg_print(const struct expr *expr, const struct frame *frame);
  20. void scan_empty(void);
  21. void scan_file(void);
  22. void scan_expr(const char *s);
  23. void scan_var(const char *s);
  24. void scan_values(const char *s);
  25. int yyparse(void);
  26. #endif /* !FPD_H */