mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/string-indexing'
* origin/topic/jsiwek/string-indexing: Change substring index notation to use a colon (addresses #422). Tweaked slightly to make it more generic, we may index other types with slices eventually too. Closes #422.
This commit is contained in:
commit
564e27abb6
7 changed files with 53 additions and 25 deletions
|
@ -646,7 +646,7 @@ protected:
|
|||
|
||||
class IndexExpr : public BinaryExpr {
|
||||
public:
|
||||
IndexExpr(Expr* op1, ListExpr* op2);
|
||||
IndexExpr(Expr* op1, ListExpr* op2, bool is_slice = false);
|
||||
|
||||
int CanAdd() const;
|
||||
int CanDel() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue