summaryrefslogtreecommitdiffstats
path: root/parser.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-20 10:01:57 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-20 10:01:57 -0800
commitaaed1aa81d33693a28d6bd49117e4130b00bfa56 (patch)
tree6c1767cffb8ff8eeeb802d658f68a951a83ab697 /parser.h
parente1bf988db6f77edc3da566b8f0dc768d3f887080 (diff)
downloadtxr-aaed1aa81d33693a28d6bd49117e4130b00bfa56.tar.gz
txr-aaed1aa81d33693a28d6bd49117e4130b00bfa56.tar.bz2
txr-aaed1aa81d33693a28d6bd49117e4130b00bfa56.zip
Changing ``obj_t *'' occurences to a ``val'' typedef. (Ideally,
we wouldn't have to declare object variables at all, so why use an obtuse syntax to do so?)
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/parser.h b/parser.h
index af858a53..7bad9451 100644
--- a/parser.h
+++ b/parser.h
@@ -27,10 +27,10 @@
#include <stdio.h>
extern long lineno;
extern int errors;
-extern obj_t *yyin_stream;
+extern val yyin_stream;
extern const wchar_t *spec_file;
-extern obj_t *spec_file_str;
+extern val spec_file_str;
int yyparse(void);
-obj_t *get_spec(void);
-void yyerrorf(obj_t *s, ...);
+val get_spec(void);
+void yyerrorf(val s, ...);
void yybadtoken(int tok, const char *context);