I edit some files that are mostly C code but include a few special extension tokens. The tokens that give c-mode a problem are @'
and @"
.
I essentially want c-mode to ignore these two bigrams. The current behavior is that the quote (single or double) is interpreted as the beginning of a quoted string.
I reckon this is childs play for anyone well versed in elisp syntax tables but I am not hence my appeal for your help.
@
used anywhere else? I wonder if@
set to be “escape” in the syntax table would work:(modify-syntax-entry ?@ "/")