Don't use C++ type comments
This commit is contained in:
parent
6240d26beb
commit
15097f6ab3
10
expr.c
10
expr.c
@ -16,7 +16,6 @@ typedef struct {
|
|||||||
intmax_t n;
|
intmax_t n;
|
||||||
} Val;
|
} Val;
|
||||||
|
|
||||||
|
|
||||||
static void doop(int*, int**, Val*, Val**);
|
static void doop(int*, int**, Val*, Val**);
|
||||||
static Val match(Val, Val);
|
static Val match(Val, Val);
|
||||||
static void num(Val);
|
static void num(Val);
|
||||||
@ -29,10 +28,11 @@ static char **args;
|
|||||||
static size_t intlen;
|
static size_t intlen;
|
||||||
static Val yylval;
|
static Val yylval;
|
||||||
|
|
||||||
// otop points to one past last op
|
/* otop points to one past last op
|
||||||
// vtop points to one past last val
|
* vtop points to one past last val
|
||||||
// guaranteed otop != ops
|
* guaranteed otop != ops
|
||||||
// pop two vals, pop op, apply op, push val
|
* pop two vals, pop op, apply op, push val
|
||||||
|
*/
|
||||||
static void
|
static void
|
||||||
doop(int *ops, int **otop, Val *vals, Val **vtop)
|
doop(int *ops, int **otop, Val *vals, Val **vtop)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user