~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/cmd/gc/subr.c

  • Committer: Package Import Robot
  • Author(s): Ondřej Surý, Ondřej Surý, Michael Stapelberg
  • Date: 2012-06-28 12:14:15 UTC
  • mfrom: (14.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20120628121415-rujz1ij5jcwhrhpe
Tags: 2:1.0.2-1
[ Ondřej Surý ]
* Imported Upstream version 1.0.2
* Update Vcs fields to reflect new git repository location
* Kill get-orig-source, since 1.0.0, the tarballs can be downloaded
  from webpage

[ Michael Stapelberg ]
* golang-mode: use debian-pkg-add-load-path-item (Closes: #664802)
* Add manpages (Closes: #632964)
* Use updated pt.po from Pedro Ribeiro (Closes: #674958)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1945
1945
        if(n == N)
1946
1946
                return N;
1947
1947
 
 
1948
        if(n->ninit) {
 
1949
                walkstmtlist(n->ninit);
 
1950
                *init = concat(*init, n->ninit);
 
1951
                n->ninit = nil;
 
1952
        }
 
1953
 
1948
1954
        switch(n->op) {
1949
1955
        case ONAME:
1950
1956
        case OLITERAL:
2673
2679
                first = T;
2674
2680
                for(t1=t->type;; t1=t1->down) {
2675
2681
                        if(t1 != T && (isblanksym(t1->sym) || algtype1(t1->type, nil) == AMEM)) {
2676
 
                                if(first == T)
 
2682
                                if(first == T && !isblanksym(t1->sym))
2677
2683
                                        first = t1;
2678
2684
                                continue;
2679
2685
                        }
2890
2896
                first = T;
2891
2897
                for(t1=t->type;; t1=t1->down) {
2892
2898
                        if(t1 != T && (isblanksym(t1->sym) || algtype1(t1->type, nil) == AMEM)) {
2893
 
                                if(first == T)
 
2899
                                if(first == T && !isblanksym(t1->sym))
2894
2900
                                        first = t1;
2895
2901
                                continue;
2896
2902
                        }