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
87278c26
Commit
87278c26
authored
Apr 01, 2008
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug36
fixed error in symbol table in the second forward declaration of a function. SVN=114572
parent
e73674b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
src/c/dcl.c
src/c/dcl.c
+0
-1
src/c/go.y
src/c/go.y
+1
-1
No files found.
src/c/dcl.c
View file @
87278c26
...
...
@@ -297,7 +297,6 @@ funchdr(Node *n)
n
->
nname
=
on
;
n
->
type
=
on
->
type
;
n
->
sym
=
s
;
s
->
oname
=
n
;
if
(
debug
[
'd'
])
print
(
"forew var-dcl %S %T
\n
"
,
n
->
sym
,
n
->
type
);
}
...
...
src/c/go.y
View file @
87278c26
...
...
@@ -855,7 +855,7 @@ fntypeh:
$$
=
functype
(
N
,
$
3
,
$
5
);
funcnam
($$,
nil
);
}
/*
i
dont
believe
that
this
form
is
useful
for
no
thing
*/
/*
i
dont
believe
that
this
form
is
useful
for
any
thing
*/
|
LFUNC
'('
oarg_type_list
')'
'.'
'('
oarg_type_list
')'
fnres
{
if
($
3
==
N
||
$
3
->
op
==
OLIST
)
...
...
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