Example #1
0
        protected override void PostSyntaxFixes()
        {
            // This should be some mistake -- likely missing directives
            // PDS doc does say symbols must start in column 1

            // In ACME, symbols not beginning in column 1 must end in ':'
            if (Symbol.Length > 0 &&
                !Symbol.EndsWith(":") &&
                !OriginalLine.StartsWith(Symbol))
            {
                var codeIndex = Code.IndexOf(Symbol);
                Code = Code.Substring(codeIndex);
            }
        }