35.6.5 Parameters to Control Parsing
variable
multibyte-syntax-as-symbolβ
If this variable is non-nil
, scan-sexps
treats all non-ASCII characters as symbol constituents regardless of what the syntax table says about them. (However, syntax-table
text properties can still override the syntax.)
user option
parse-sexp-ignore-commentsβ
If the value is non-nil
, then comments are treated as whitespace by the functions in this section and by forward-sexp
, scan-lists
and scan-sexps
.
The behavior of parse-partial-sexp
is also affected by parse-sexp-lookup-properties
(see Syntax Properties).
variable
comment-end-can-be-escapedβ
If this buffer local variable is non-nil
, a single character which usually terminates a comment doesnβt do so when that character is escaped. This is used in C and C++ Modes, where line comments starting with β//
β can be continued onto the next line by escaping the newline with β\
β.
You can use forward-comment
to move forward or backward over one comment or several comments.