mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
parent
da7e3a5d39
commit
de1755b58d
3 changed files with 3 additions and 3 deletions
|
@ -156,7 +156,7 @@ extern void mkmatch(void);
|
|||
extern int mnp(int, void*);
|
||||
extern int mn0(int);
|
||||
extern int mn1(int, int);
|
||||
extern int mn2(int, int, int);
|
||||
extern int mn2(int, int, uintptr);
|
||||
extern void munputc(int);
|
||||
extern void munputs(uchar *);
|
||||
extern void *myalloc(int, int);
|
||||
|
|
|
@ -196,7 +196,7 @@ r: CHAR
|
|||
}
|
||||
}
|
||||
| SCON r
|
||||
={ $$.i = mn2(RSCON,$2.i,$1.i); }
|
||||
={ $$.i = mn2(RSCON,$2.i,(uintptr)$1.cp); }
|
||||
| '^' r
|
||||
={ $$.i = mn1(CARAT,$2.i); }
|
||||
| r '$'
|
||||
|
|
|
@ -295,7 +295,7 @@ gch(void){
|
|||
}
|
||||
|
||||
int
|
||||
mn2(int a, int d, int c)
|
||||
mn2(int a, int d, uintptr c)
|
||||
{
|
||||
name[tptr] = a;
|
||||
left[tptr] = d;
|
||||
|
|
Loading…
Reference in a new issue