about summary refs log tree commit diff
path: root/src/boot
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2010-08-03 12:20:29 -0700
committerGraydon Hoare <graydon@mozilla.com>2010-08-03 12:20:29 -0700
commit1fc4e9fcc623df313dcaaf541f08fc7a8415c67f (patch)
tree6caa66a2e864bdd48be6fb8e199a0c44e146ef4e /src/boot
parent559e1e7e01cd5ecf42a0157b1a2bf0ef53ad312c (diff)
downloadrust-1fc4e9fcc623df313dcaaf541f08fc7a8415c67f.tar.gz
rust-1fc4e9fcc623df313dcaaf541f08fc7a8415c67f.zip
Add tests and fix pexp bug. Closes #141.
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/fe/pexp.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/fe/pexp.ml b/src/boot/fe/pexp.ml
index 1532a47a612..9b870639f52 100644
--- a/src/boot/fe/pexp.ml
+++ b/src/boot/fe/pexp.ml
@@ -121,7 +121,7 @@ and parse_carg_base (ps:pstate) : Ast.carg_base =
 
 and parse_carg (ps:pstate) : Ast.carg =
   match peek ps with
-      IDENT _ ->
+      IDENT _ | STAR ->
         begin
           let base = Ast.CARG_base (parse_carg_base ps) in
           let path =