version 1.26, 2015/01/16 06:40:08 |
version 1.27, 2015/08/20 22:32:41 |
|
|
ps.last_nl = true; /* this is true if the last thing scanned was |
ps.last_nl = true; /* this is true if the last thing scanned was |
* a newline */ |
* a newline */ |
ps.last_token = semicolon; |
ps.last_token = semicolon; |
combuf = (char *) malloc(bufsize); |
combuf = malloc(bufsize); |
labbuf = (char *) malloc(bufsize); |
labbuf = malloc(bufsize); |
codebuf = (char *) malloc(bufsize); |
codebuf = malloc(bufsize); |
tokenbuf = (char *) malloc(bufsize); |
tokenbuf = malloc(bufsize); |
if (combuf == NULL || labbuf == NULL || codebuf == NULL || |
if (combuf == NULL || labbuf == NULL || codebuf == NULL || |
tokenbuf == NULL) |
tokenbuf == NULL) |
err(1, NULL); |
err(1, NULL); |
|
|
s_com = e_com = combuf + 1; |
s_com = e_com = combuf + 1; |
s_token = e_token = tokenbuf + 1; |
s_token = e_token = tokenbuf + 1; |
|
|
in_buffer = (char *) malloc(10); |
in_buffer = malloc(10); |
if (in_buffer == NULL) |
if (in_buffer == NULL) |
err(1, NULL); |
err(1, NULL); |
in_buffer_limit = in_buffer + 8; |
in_buffer_limit = in_buffer + 8; |