summaryrefslogtreecommitdiffstats
path: root/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.h b/parse.h
index ddfb19c1..c8008bc7 100644
--- a/parse.h
+++ b/parse.h
@@ -22,6 +22,7 @@ enum token_type
tok_junk, tok_identifier, tok_operator, tok_string, tok_number
};
+
struct token
{
source_loc location;
@@ -29,6 +30,7 @@ struct token
std::string content;
};
+
std::ostream& operator << (std::ostream& o, const token& t);