Change syntax extension syntax: #m[...] -> m!{...}.

This commit is contained in:
Paul Stansifer
2012-07-30 16:01:07 -07:00
parent 650fb06d68
commit a9cc5066ee
365 changed files with 2760 additions and 2759 deletions

View File

@@ -113,7 +113,7 @@ impl parser_common of parser_common for parser {
// A sanity check that the word we are asking for is a known keyword
fn require_keyword(word: ~str) {
if !self.keywords.contains_key(word) {
self.bug(#fmt("unknown keyword: %s", word));
self.bug(fmt!{"unknown keyword: %s", word});
}
}