diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-21 21:44:41 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-22 10:44:04 -0700 |
| commit | 152cbaade7bc2ec36546554eb2d2090a9833bfff (patch) | |
| tree | d6bb39fcdcce9f67cc97f97a6259e85cbf315650 /src/comp/syntax/parse/lexer.rs | |
| parent | a3affaa20fcd718080951d5be2da3f578c960664 (diff) | |
| download | rust-152cbaade7bc2ec36546554eb2d2090a9833bfff.tar.gz rust-152cbaade7bc2ec36546554eb2d2090a9833bfff.zip | |
Move functions from syntax::ast to syntax::ast_util
This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer
Diffstat (limited to 'src/comp/syntax/parse/lexer.rs')
| -rw-r--r-- | src/comp/syntax/parse/lexer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/parse/lexer.rs b/src/comp/syntax/parse/lexer.rs index 6e4cc10abb7..c39cd75db3b 100644 --- a/src/comp/syntax/parse/lexer.rs +++ b/src/comp/syntax/parse/lexer.rs @@ -78,7 +78,7 @@ fn new_reader(cm: &codemap::codemap, src: str, filemap: codemap::filemap, fn get_col() -> uint { ret col; } fn get_filemap() -> codemap::filemap { ret fm; } fn err(m: str) { - codemap::emit_error(some(ast::mk_sp(chpos, chpos)), m, cm); + codemap::emit_error(some(ast_util::mk_sp(chpos, chpos)), m, cm); } } let strs: [str] = []; |
