Skip to content

Commit

Permalink
Fix <foo> <foo> capturing
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Oct 21, 2010
1 parent 4b358b4 commit 7a7e3f2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions lib/Cursor.cs
Expand Up @@ -396,8 +396,8 @@ public Cursor(IP6 proto, string text)
}

private Variable FixupList(VarDeque caps) {
if (caps.Count() != 0 && caps[caps.Count() - 1] == null) {
caps.Pop();
if (caps.Count() != 0 && caps[0] == null) {
caps.Shift();
DynObject l = new DynObject(RxFrame.ListMO);
l.slots[0 /*items*/] = caps;
l.slots[1 /*rest*/ ] = new VarDeque();
Expand Down
27 changes: 14 additions & 13 deletions v6/TODO
@@ -1,30 +1,30 @@
Cursor.add_categorical
Cursor.canonicalize_name
Cursor.check_old_cclass
Cursor.cursor_all
Cursor.cursor_fresh
Cursor.do_import
Cursor.do_use
Cursor.gettrait
Cursor.load_lex
Cursor.makestr
Cursor.mark_sinks
Cursor.mixin
Cursor.suppose
Cursor.trim_heredoc
List.at-pos(WhateverCode)
Match.CURSOR
Match.perl
Match.synthetic
Parcel.LISTSTORE
Action methods
Highwater stuff
Audit EXPR, termish, nulltermish, nibble
self in regexes
Non-string parameterized role arguments
temp $*FOO
token { $param-role-var }

NOT NEEDED FOR #phasers:
Cursor.canonicalize_name
Cursor.check_old_cclass
Cursor.mark_sinks
Cursor.trim_heredoc
Cursor.do_import
Cursor.do_use
Cursor.gettrait
Cursor.load_lex
Cursor.add_categorical
Action methods
Make sure / (\w+) $0 / works
Non-string parameterized role arguments

DONE:
~
Expand Down Expand Up @@ -62,6 +62,7 @@ shift(@array)
&sort
substr($str,$from,$len)
$<sym>
temp $*FOO
try
token { :my $var = expr; $var }

Expand Down

0 comments on commit 7a7e3f2

Please sign in to comment.