Mercurial > projects > ldc
comparison dmd/module.c @ 751:dc8b8b7ea0c1
Fix compile-time warnings. Adjust include in d-asm-i386.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 03 Nov 2008 12:35:29 +0100 |
parents | fd5665da3a27 |
children | aa953cc960b6 |
comparison
equal
deleted
inserted
replaced
750:d05fc504a3a0 | 751:dc8b8b7ea0c1 |
---|---|
611 { | 611 { |
612 amodules.push(this); | 612 amodules.push(this); |
613 } | 613 } |
614 } | 614 } |
615 | 615 |
616 void Module::semantic() | 616 void Module::semantic(Scope* unused_sc) |
617 { int i; | 617 { int i; |
618 | 618 |
619 if (semanticstarted) | 619 if (semanticstarted) |
620 return; | 620 return; |
621 | 621 |
659 sc->pop(); | 659 sc->pop(); |
660 semanticdone = semanticstarted; | 660 semanticdone = semanticstarted; |
661 //printf("-Module::semantic(this = %p, '%s'): parent = %p\n", this, toChars(), parent); | 661 //printf("-Module::semantic(this = %p, '%s'): parent = %p\n", this, toChars(), parent); |
662 } | 662 } |
663 | 663 |
664 void Module::semantic2() | 664 void Module::semantic2(Scope* unused_sc) |
665 { int i; | 665 { int i; |
666 | 666 |
667 if (deferred.dim) | 667 if (deferred.dim) |
668 { | 668 { |
669 for (int i = 0; i < deferred.dim; i++) | 669 for (int i = 0; i < deferred.dim; i++) |
698 sc->pop(); | 698 sc->pop(); |
699 semanticdone = semanticstarted; | 699 semanticdone = semanticstarted; |
700 //printf("-Module::semantic2('%s'): parent = %p\n", toChars(), parent); | 700 //printf("-Module::semantic2('%s'): parent = %p\n", toChars(), parent); |
701 } | 701 } |
702 | 702 |
703 void Module::semantic3() | 703 void Module::semantic3(Scope* unused_sc) |
704 { int i; | 704 { int i; |
705 | 705 |
706 //printf("Module::semantic3('%s'): parent = %p\n", toChars(), parent); | 706 //printf("Module::semantic3('%s'): parent = %p\n", toChars(), parent); |
707 if (semanticstarted >= 3) | 707 if (semanticstarted >= 3) |
708 return; | 708 return; |