* net/loveruby/cflat/parser/Parser.jj: top_decls -> top_defs

git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@3931 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2008-03-23 17:39:18 +00:00
parent 1475f08013
commit 5b78ddd411
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Mon Mar 24 02:39:14 2008 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/parser/Parser.jj: top_decls -> top_defs
Sat Mar 1 20:06:33 2008 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/compiler/TypeChecker.java: use (new) CastNode

View File

@ -375,7 +375,7 @@ AST compilation_unit():
{
t = getToken(1);
}
impdecls=import_stmts() decls=top_decls() <EOF>
impdecls=import_stmts() decls=top_defs() <EOF>
{
decls.add(impdecls);
return new AST(sourceName, decls, t);
@ -455,8 +455,8 @@ String import_stmt():
}
// #@@}
// #@@range/top_decls{
Declarations top_decls():
// #@@range/top_defs{
Declarations top_defs():
{
Declarations decls = new Declarations();
DefinedFunction defun;