semantic-lex-newline-as-whitespace
semantic-lex-newline-as-whitespace is a variable defined in `
lex.el
'.
Its value is shown
below.
Documentation:
Detect and create newline tokens.
Use this ONLY if newlines are not whitespace characters (such as when
they are comment end characters) AND when you want whitespace tokens.
Value:
((looking-at "\\s-*\\(\n\\|\\s>\\)")
(if
(eq
(semantic-lex-token-class
(car semantic-lex-token-stream))
'whitespace)
(setcdr
(semantic-lex-token-bounds
(car semantic-lex-token-stream))
(match-end 0))
(semantic-lex-push-token
(semantic-lex-token 'whitespace
(match-beginning 0)
(match-end 0)))))