# HG changeset patch # User Anders Johnsen # Date 1216660676 -7200 # Node ID 060b6eb16db9a975d5aa2afb3a66b4982f26bb3f # Parent 8c09fdaa724e1529b931956f8f38f05287ef10a2 Parsing for-loops to some extend. diff -r 8c09fdaa724e -r 060b6eb16db9 sema/Scope.d --- a/sema/Scope.d Mon Jul 21 18:16:50 2008 +0200 +++ b/sema/Scope.d Mon Jul 21 19:17:56 2008 +0200 @@ -4,8 +4,7 @@ import lexer.Token, ast.Module, - ast.Decl, - ast.Exp; + ast.Decl; public import sema.DType, diff -r 8c09fdaa724e -r 060b6eb16db9 tests/parser/extern_1.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/parser/extern_1.d Mon Jul 21 19:17:56 2008 +0200 @@ -0,0 +1,12 @@ + +extern (D): + +void foo() +{ +} + +extern (C): + +void boo() +{ +} diff -r 8c09fdaa724e -r 060b6eb16db9 tests/parser/for_1.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/parser/for_1.d Mon Jul 21 19:17:56 2008 +0200 @@ -0,0 +1,8 @@ + +int main() +{ + for(int i = 0; i < 5; i = i + 1) + { + } + return 0; +}