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
b6218e69
Commit
b6218e69
authored
Jun 07, 2008
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'\Ucafebabe'
SVN=121562
parent
fc184ef8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
go.h
src/cmd/gc/go.h
+1
-1
lex.c
src/cmd/gc/lex.c
+5
-5
No files found.
src/cmd/gc/go.h
View file @
b6218e69
...
...
@@ -387,7 +387,7 @@ void lexinit(void);
char
*
lexname
(
int
);
long
getr
(
void
);
int
getnsc
(
void
);
long
escchar
(
long
,
int
*
);
ulong
escchar
(
int
,
int
*
);
int
getc
(
void
);
void
ungetc
(
int
);
void
mkpackage
(
char
*
);
...
...
src/cmd/gc/lex.c
View file @
b6218e69
...
...
@@ -171,7 +171,7 @@ cannedimports(void)
long
yylex
(
void
)
{
long
c
,
c1
;
u
long
c
,
c1
;
char
*
cp
;
Rune
rune
;
int
escflag
;
...
...
@@ -696,10 +696,10 @@ getnsc(void)
}
long
escchar
(
long
e
,
int
*
escflg
)
u
long
escchar
(
int
e
,
int
*
escflg
)
{
long
c
,
l
;
u
long
c
,
l
;
int
i
;
*
escflg
=
0
;
...
...
@@ -753,7 +753,7 @@ loop:
default:
if
(
c
!=
e
)
warn
(
"unknown escape sequence: %c"
,
c
);
warn
(
"unknown escape sequence: %c"
,
c
);
}
return
c
;
...
...
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