- Added string strip methods lstrip and rstrip
- Fixed the tokenizer to chomp whitespace from left and right of tokens - Fixed the tokenizer so it returns reserved symbols not just constants and expressions - Added some tests for the basic tokenizer and parser - Started working on structures to allow the basic interpreter to store lines in memory
This commit is contained in:
@@ -8,5 +8,6 @@ int strncat(char *dest, char *src, size_t n);
|
||||
void *memset(void *s, char c, size_t n);
|
||||
void *memcpy(void *dest, void *src, size_t n);
|
||||
int strcmp(char *s1, char *s2);
|
||||
|
||||
int lstrip(char *s1, char *s2, char *strip);
|
||||
int rstrip(char *s1, char *s2, char *strip);
|
||||
#endif /* _STRING_H_ */
|
||||
|
||||
Reference in New Issue
Block a user