diff --git a/examples/picol.c b/examples/picol.c index ef4ba2c34..ca135e4eb 100644 --- a/examples/picol.c +++ b/examples/picol.c @@ -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 #include #include "libc/fmt/conv.h" #include "libc/fmt/fmt.h" -//#include -//#include -//#include - 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 };