Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
b3c983f3
Commit
b3c983f3
authored
Nov 06, 2008
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed typo in parser.go
- re-enabled bug118.go for pretty R=r OCL=18604 CL=18604
parent
553c98dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
parser.go
usr/gri/pretty/parser.go
+1
-1
test.sh
usr/gri/pretty/test.sh
+1
-1
No files found.
usr/gri/pretty/parser.go
View file @
b3c983f3
...
@@ -1181,7 +1181,7 @@ func (P *Parser) ParseSwitchStat() *AST.Stat {
...
@@ -1181,7 +1181,7 @@ func (P *Parser) ParseSwitchStat() *AST.Stat {
func
(
P
*
Parser
)
ParseCommCase
()
*
AST
.
Stat
{
func
(
P
*
Parser
)
ParseCommCase
()
*
AST
.
Stat
{
P
.
Trace
(
"CommCase"
);
P
.
Trace
(
"CommCase"
);
s
:=
AST
.
NewStat
(
P
.
pos
,
Scanner
.
CASE
);
s
:=
AST
.
NewStat
(
P
.
pos
,
P
.
tok
);
if
P
.
tok
==
Scanner
.
CASE
{
if
P
.
tok
==
Scanner
.
CASE
{
P
.
Next
();
P
.
Next
();
x
:=
P
.
ParseExpression
(
1
);
x
:=
P
.
ParseExpression
(
1
);
...
...
usr/gri/pretty/test.sh
View file @
b3c983f3
...
@@ -22,7 +22,7 @@ apply1() {
...
@@ -22,7 +22,7 @@ apply1() {
#echo $1 $2
#echo $1 $2
case
`
basename
$F
`
in
case
`
basename
$F
`
in
selftest1.go
|
func3.go
|
bug014.go
|
bug029.go
|
bug032.go
|
bug050.go
|
\
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
;;
*
)
$1
$2
;
count
;;
esac
esac
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment