From 5297582ba2e639368fe2ac65036408441cf8a25c Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 12 Aug 2010 10:27:50 -0700 Subject: Add mostly-empty AST module to rustc. --- src/comp/fe/ast.rs | 12 ++++++++++++ src/comp/rustc.rc | 1 + 2 files changed, 13 insertions(+) create mode 100644 src/comp/fe/ast.rs (limited to 'src') diff --git a/src/comp/fe/ast.rs b/src/comp/fe/ast.rs new file mode 100644 index 00000000..8aea570d --- /dev/null +++ b/src/comp/fe/ast.rs @@ -0,0 +1,12 @@ +type crate = rec( str filename ); + +// +// Local Variables: +// mode: rust +// fill-column: 78; +// indent-tabs-mode: nil +// c-basic-offset: 4 +// buffer-file-coding-system: utf-8-unix +// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'"; +// End: +// diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc index 7b1f9236..87dbc6b4 100644 --- a/src/comp/rustc.rc +++ b/src/comp/rustc.rc @@ -4,6 +4,7 @@ use std; mod fe { + mod ast; mod lexer; mod parser; } -- cgit v1.2.3