Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added extra arguments to SExpression scan method.

  • Loading branch information...
commit e96b3f8c731c3cc5a6f565e37567242022b321f6 1 parent ba14c3e
@notahat notahat authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 AikoSExpression.h
View
4 AikoSExpression.h
@@ -7,7 +7,9 @@ namespace Aiko {
class SExpression {
public:
- char* scan(char* head, char* tail) { return SExpression::scan(head, tail, this); }
+ char* scan(char* head) { return SExpression::scan(head, head + strlen(head), this); }
+ char* scan(char* head, unsigned int length) { return SExpression::scan(head, head+length, this); }
+ char* scan(char* head, char* tail) { return SExpression::scan(head, tail, this); }
char* head() { return head_; }
char* tail() { return tail_; }
Please sign in to comment.
Something went wrong with that request. Please try again.