aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/token.h
diff options
authorLinus Torvalds <torvalds@home.transmeta.com>2003-03-18 13:45:14 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 20:59:25 -0700
commit3982aeffa6d2f202caf57f874015b8fd3db04cba (patch)
treeff78d5ae5bbdef8c3565da3e5e56c8e954153cd3 /token.h
parente94aa8a0001e135fef59c53001c96f5b50677631 (diff)
downloadsparse-dev-3982aeffa6d2f202caf57f874015b8fd3db04cba.tar.gz
Declare 'alloc_token()' for use in the pre-processor (which creates
some tokens on the fly: "defined xxxx", "A ## B", "#A" etc)
Diffstat (limited to 'token.h')
-rw-r--r--token.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/token.h b/token.h
index e2db3a01..20bd8697 100644
--- a/token.h
+++ b/token.h
@@ -17,6 +17,8 @@ struct stream {
extern int input_stream_nr;
extern struct stream *input_streams;
+struct token * alloc_token(int stream, int line, int pos);
+
extern int ident_hit, ident_miss;
struct ident {