Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
79fa5b65
Commit
79fa5b65
authored
Mar 22, 2009
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rewrote switch
fixed bug 141 R=r OCL=26627 CL=26627
parent
afee1c5f
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
525 additions
and
435 deletions
+525
-435
src/cmd/gc/go.y
src/cmd/gc/go.y
+1
-1
src/cmd/gc/swt.c
src/cmd/gc/swt.c
+524
-434
No files found.
src/cmd/gc/go.y
View file @
79fa5b65
...
...
@@ -19,7 +19,7 @@
%
token
<
sym
>
LMAP
LCHAN
LINTERFACE
LFUNC
LSTRUCT
%
token
<
sym
>
LCOLAS
LFALL
LRETURN
LDDD
%
token
<
sym
>
LLEN
LCAP
LPANIC
LPANICN
LPRINT
LPRINTN
%
token
<
sym
>
LVAR
LTYPE
LCONST
L
CONVERT
L
SELECT
LMAKE
LNEW
%
token
<
sym
>
LVAR
LTYPE
LCONST
LSELECT
LMAKE
LNEW
%
token
<
sym
>
LFOR
LIF
LELSE
LSWITCH
LCASE
LDEFAULT
%
token
<
sym
>
LBREAK
LCONTINUE
LGO
LGOTO
LRANGE
%
token
<
sym
>
LNIL
LTRUE
LFALSE
LIOTA
...
...
src/cmd/gc/swt.c
View file @
79fa5b65
This diff is collapsed.
Click to expand it.
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