aboutsummaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-08 18:27:03 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-08 18:27:03 +0800
commit2c9f05a38ef64cbaeeae6429cd0e245c27944660 (patch)
tree446e29a0a6811ac548b2d08d59385bb062f047cc /parser.h
parentde0ab402f28a9e5ed4ef443df336f856bb521c83 (diff)
rectified some names
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.h b/parser.h
index 11a03a5..e44abbc 100644
--- a/parser.h
+++ b/parser.h
@@ -31,7 +31,7 @@ class Tokenizor {
/** @class ASTGenerator
* Read the tokens and build up an Abstract Syntax Tree (which is in effect a
- * Cons)
+ * Pair)
*/
class ASTGenerator {
private:
@@ -43,7 +43,7 @@ class ASTGenerator {
* @param tk pointer to a Tokenizor
* @return Abstract Syntax Tree
*/
- Cons *absorb(Tokenizor *tk);
+ Pair *absorb(Tokenizor *tk);
};
#endif