Skip over whitespace in annotation-top-cont check (bug#63141)
* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Make sure we skip over whitespace when looking for the next '['.
This commit is contained in:
parent
7e136c51f6
commit
1f2214dabd
1 changed files with 4 additions and 1 deletions
|
@ -468,7 +468,10 @@ compilation and evaluation time conflicts."
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(goto-char (c-point 'iopl))
|
(goto-char (c-point 'iopl))
|
||||||
(and
|
(and
|
||||||
(eq (char-after) ?\[)
|
(eq (save-excursion
|
||||||
|
(skip-chars-forward " \t\n")
|
||||||
|
(char-after))
|
||||||
|
?\[)
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(c-go-list-forward)
|
(c-go-list-forward)
|
||||||
(and (eq (char-before) ?\])
|
(and (eq (char-before) ?\])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue