How does python.wy work?
Gracjan Polak <[email protected]> Fri, 19 Feb 2016 19:07:28 +0100
| Newsgroups | gmane.emacs.semantic |
|---|---|
| Message-ID | <CAChsM3T+EWxBJ1AvB-+QYfo0hSwOptFb_CXvOTpHavwZKWn=iw@mail.gmail.com> |
I've noticed something interesting in python.wy.
On one hand python.wy in
indented_block
: INDENT_BLOCK
(EXPANDFULL $1 indented_block_body)
;
that means that indented_block can only handle INDENT_BLOCK, where
INDENT_BLOCK must be produced by lexer.
How does the lexer know that it has to produce INDENT_BLOCK instead of the
usual token stream?
Links:
https://sourceforge.net/p/cedet/git/ci/master/tree/lisp/cedet/semantic/wisent/python.wy
https://sourceforge.net/p/cedet/git/ci/master/tree/lisp/cedet/semantic/wisent/python.el
--
Gracjan
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
cedet-semantic mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-semantic