~ubuntu-branches/ubuntu/saucy/golang/saucy

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Ondřej Surý, Ondřej Surý, Michael Stapelberg
  • Date: 2012-06-28 12:14:15 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120628121415-w1b0076ixkarr1ml
[ 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:
433
433
}
434
434
 
435
435
/*
436
 
 * same for types
437
 
 */
438
 
Type*
439
 
newtype(Sym *s)
440
 
{
441
 
        Type *t;
442
 
 
443
 
        t = typ(TFORW);
444
 
        t->sym = s;
445
 
        t->type = T;
446
 
        return t;
447
 
}
448
 
 
449
 
 
450
 
/*
451
436
 * := declarations
452
437
 */
453
438
 
1311
1296
                }
1312
1297
                // Should have picked off all the reasons above,
1313
1298
                // but just in case, fall back to generic error.
1314
 
                yyerror("invalid receiver type %T", pa);
 
1299
                yyerror("invalid receiver type %T (%lT / %lT)", pa, pa, t);
1315
1300
                return;
1316
1301
        }
1317
1302