Fix shm/comma operation in invalid syntax
Fix shm-insert-char-surrounding-with-spaces to take literal context into account