1
0
mirror of https://github.com/golang/go synced 2024-09-23 23:20:14 -06:00

'\Ucafebabe'

SVN=121562
This commit is contained in:
Ken Thompson 2008-06-06 17:42:03 -07:00
parent fc184ef887
commit b6218e6907
2 changed files with 6 additions and 6 deletions

View File

@ -387,7 +387,7 @@ void lexinit(void);
char* lexname(int); char* lexname(int);
long getr(void); long getr(void);
int getnsc(void); int getnsc(void);
long escchar(long, int*); ulong escchar(int, int*);
int getc(void); int getc(void);
void ungetc(int); void ungetc(int);
void mkpackage(char*); void mkpackage(char*);

View File

@ -171,7 +171,7 @@ cannedimports(void)
long long
yylex(void) yylex(void)
{ {
long c, c1; ulong c, c1;
char *cp; char *cp;
Rune rune; Rune rune;
int escflag; int escflag;
@ -696,10 +696,10 @@ getnsc(void)
} }
long ulong
escchar(long e, int *escflg) escchar(int e, int *escflg)
{ {
long c, l; ulong c, l;
int i; int i;
*escflg = 0; *escflg = 0;
@ -753,7 +753,7 @@ loop:
default: default:
if(c != e) if(c != e)
warn("unknown escape sequence: %c", c); warn("unknown escape sequence: %c", c);
} }
return c; return c;