Uncomment destructor in parser now that dtors work

Although this one is just a hack to make a class non-copyable.
(Do we want syntax for that instead?)
This commit is contained in:
Tim Chevalier 2012-07-05 15:58:45 -07:00
parent 889be71cb4
commit 663b3fc89c
1 changed files with 1 additions and 2 deletions

View File

@ -98,8 +98,7 @@ class parser {
self.restricted_keywords = token::restricted_keyword_table();
}
//TODO: uncomment when destructors work
//drop {} /* do not copy the parser; its state is tied to outside state */
drop {} /* do not copy the parser; its state is tied to outside state */
fn bump() {
self.last_span = self.span;