- fixed typo in parser.go

- re-enabled bug118.go for pretty

R=r
OCL=18604
CL=18604
This commit is contained in:
Robert Griesemer 2008-11-05 16:05:36 -08:00
parent 553c98dca4
commit b3c983f3a0
2 changed files with 2 additions and 2 deletions

View File

@ -1181,7 +1181,7 @@ func (P *Parser) ParseSwitchStat() *AST.Stat {
func (P *Parser) ParseCommCase() *AST.Stat {
P.Trace("CommCase");
s := AST.NewStat(P.pos, Scanner.CASE);
s := AST.NewStat(P.pos, P.tok);
if P.tok == Scanner.CASE {
P.Next();
x := P.ParseExpression(1);

View File

@ -22,7 +22,7 @@ apply1() {
#echo $1 $2
case `basename $F` in
selftest1.go | func3.go | bug014.go | bug029.go | bug032.go | bug050.go | \
bug068.go | bug088.go | bug083.go | bug106.go | bug118.go ) ;; # skip - files contain syntax errors
bug068.go | bug088.go | bug083.go | bug106.go ) ;; # skip - files contain syntax errors
* ) $1 $2; count ;;
esac
}