> Made some more progress.
> Attached zip file has three files
> * wisent-python.wy
> * wisent-python.el
> * test01
Why don't you check your wisent-python files in cedet/semantic/wisent
CVS module, and test01[.py] in cedet/semantic/test? So you would
benefit of SF facilities, and we could easily keep track of your work
in progress ;-)
> I have a question. Python uses triple double quotes to quote
> multi-line comments, e.g.,
> """This is a long python comment
> surrounded by triple quotes."""
> So I tried to implement them via semantic extensions like this:
> '(("\"\"\"" . semantic-flex-python-triple-quotes))
> semantic-flex-extensions semantic-flex-python-extensions
> (defun semantic-flex-python-triple-quotes ()
> "Create a 'string token from strings quoted with triple double-quotes."
> (let (beg end)
> (setq beg (point))
> (forward-char 3)
> (search-forward "\"\"\"")
> (setq end (point))
> (cons 'string (cons beg end))))
> However, this does not seem to work.
> Any ideas?
I just did a simple test with your code and it seemed to work. So,
what precisely don't work for you? Could you please give an example?
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@...! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/