I am trying to understand how
forward-list matches template delimiters
scan-lists with the appropriate arguments. The documentation for
(scan-lists FROM COUNT DEPTH)
Scan from character number
COUNTlists. Scan forward if
COUNTis positive, backward if
COUNTis negative. Return the character number of the position thus found.
A "list", in this context, refers to a balanced parenthetical grouping, as determined by the syntax table.
Looking at the syntax table in a
c++-mode buffer, I don't find an entry of which indicates that
> match each other. Is my reading of the syntax table incorrect? I am assuming that matching entries look like this:
( () which means: open, matches ) ) )( which means: close, matches (
To summarize, how does
forward-list match the template delimiters