Ticket #808 (closed patch: fixed)
VIM syntax file: fix parsing of quoted ".end"
|Reported by:||flh||Owned by:||jkeenan|
The vim syntax file for PIR currently treats a quoted '.end' in a string as the PIR .end directive, i.e., in the following example, VIM thinks that the sub ends after $S0 = ":
.sub 'my_sub' $S0 = ".end" .return ($S0) .end
The small attached patch to pir_vim.in fixes that (now, sub ends are matched by "\^\s*\.end" instead of simply "\.end"). It also updates the definition for macro ends (.endm) in the same way.