mirror of
https://github.com/golang/go
synced 2024-11-25 04:07:55 -07:00
'\Ucafebabe'
SVN=121562
This commit is contained in:
parent
fc184ef887
commit
b6218e6907
@ -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*);
|
||||
|
@ -171,7 +171,7 @@ cannedimports(void)
|
||||
long
|
||||
yylex(void)
|
||||
{
|
||||
long c, c1;
|
||||
ulong c, c1;
|
||||
char *cp;
|
||||
Rune rune;
|
||||
int escflag;
|
||||
@ -696,10 +696,10 @@ getnsc(void)
|
||||
}
|
||||
|
||||
|
||||
long
|
||||
escchar(long e, int *escflg)
|
||||
ulong
|
||||
escchar(int e, int *escflg)
|
||||
{
|
||||
long c, l;
|
||||
ulong 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user