mirror of https://github.com/aamine/cbc
* 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:
parent
1475f08013
commit
5b78ddd411
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue