Commit b3c983f3 authored by Robert Griesemer's avatar Robert Griesemer

- fixed typo in parser.go

- re-enabled bug118.go for pretty

R=r
OCL=18604
CL=18604
parent 553c98dc
......@@ -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);
......
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment