While it is being highlighted like a comment, a rem statement is not actually a comment. This causes problems when the text after a REM contains an apostrophe ('), which emacs does recognize as a comment from the syntax table The solution is to add REM to the syntax table, like so:
While it is being highlighted like a comment, a
rem
statement is not actually a comment. This causes problems when the text after a REM contains an apostrophe ('
), which emacs does recognize as a comment from the syntax table The solution is to add REM to the syntax table, like so: