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
b6218e69
Commit
b6218e69
authored
Jun 06, 2008
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'\Ucafebabe'
SVN=121562
parent
fc184ef8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/cmd/gc/go.h
src/cmd/gc/go.h
+1
-1
src/cmd/gc/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