Hi, I working on syntax highlighting for ED4W and have problem with <<
because it has three uses.

1. << operator
2. << HERE Doc
3. class << Name  - Singleton Class

The problem is determining if << starts a Here Doc. It is easy to handle
class<<Name is this regard, but I can't see how you can work out << in
the following:

   Ared = "mary"
   angy = "bill"
   angy <<Ared      # does this start a Here Doc or is it operator <<
   print <<Ared     # as above.

Thanks.

---
Neville Franks, http://www.getsoft.com http://www.surfulater.com

-- 
Posted via http://www.ruby-forum.com/.