Open FALLAI-Denis opened 2 years ago
Original textmate grammar versus alternative textmate grammar:
Hi,
The proposed grammar does not correctly manage instructions written on several lines (presence of a continuation character in column 72).
It is based solely on the presence of information before column 16, except for the label.
I will try to improve it by managing a "begin/end" or "begin/while" group based on the presence of a non-blank character in column 72.
Development environment used
Problem Description
As documented in issue #223, the assembler textmate grammar has some problems.
I offer you an alternative textmate grammar that I have built.
It is not perfect either, but it fixes the handling of character strings containing spaces or accented characters, and improves the processing of operands.
See attached files, yaml format and json format.
myhlasm.tmLanguage.json.txt myhlasm.tmLanguage.yaml.txt