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:
parent
889be71cb4
commit
663b3fc89c
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue