From 425ef692da7e74112f88f0b368f3286dba84f846 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Thu, 18 Jun 2020 19:45:40 -0700 Subject: feat: working parser for rc shell language --- sys/cmd/rc/exec.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sys/cmd/rc/exec.c (limited to 'sys/cmd/rc/exec.c') diff --git a/sys/cmd/rc/exec.c b/sys/cmd/rc/exec.c new file mode 100644 index 0000000..2879678 --- /dev/null +++ b/sys/cmd/rc/exec.c @@ -0,0 +1,19 @@ +#include "rc.h" + +void +Xerror(char *s) +{ + +} + +void +Xmark(void) +{ + pushlist(); +} + +void +Xword(void) +{ + pushword(shell->ip++->s); +} -- cgit v1.2.1