mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-07 02:10:27 +00:00
Note changes from antirez, remove old includes and make sure formatting matches.
This commit is contained in:
parent
d1eaf65ce8
commit
199e61410a
1 changed files with 7 additions and 4 deletions
|
@ -25,16 +25,19 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Original from http://oldblog.antirez.com/page/picol.html
|
||||
* Changes on 2021-12-27 by octetta :
|
||||
* . Use Cosmopolitan's headers.
|
||||
* . Formatted as per Cosmopolitan's standards.
|
||||
*/
|
||||
|
||||
#include <libc/log/log.h>
|
||||
#include <libc/stdio/stdio.h>
|
||||
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
|
||||
//#include <stdio.h>
|
||||
//#include <stdlib.h>
|
||||
//#include <string.h>
|
||||
|
||||
enum { PICOL_OK, PICOL_ERR, PICOL_RETURN, PICOL_BREAK, PICOL_CONTINUE };
|
||||
enum { PT_ESC, PT_STR, PT_CMD, PT_VAR, PT_SEP, PT_EOL, PT_EOF };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue