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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user