Hi, I working on syntax highlighting for ED4W and have problem with <<
because it has three uses.
- << operator
- << HERE Doc
- 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
Ared = “mary”
angy = “bill”
angy <<Ared # does this start a Here Doc or is it operator <<
print <<Ared # as above.