# | Line 1906 | Line 1906 | begin | |
---|---|---|
1906 | #0..#8,#10..#31,' ': | |
1907 | Result := ' '; | |
1908 | ||
1909 | < | #9,';','"','''','/', |
1909 | > | #9,';','"','''','/','-', |
1910 | '*','=','>','<',',': | |
1911 | Result := C; | |
1912 | else | |
# | Line 2023 | Line 2023 | begin | |
2023 | Result := sqCommentLine; | |
2024 | FIndex := 0; | |
2025 | FNextSymbol := sqNone | |
2026 | + | end; |
2027 | + | |
2028 | + | '-': |
2029 | + | if FXMLMode > 0 then |
2030 | + | break |
2031 | + | else |
2032 | + | if FNextSymbol = '-' then |
2033 | + | begin |
2034 | + | FString := '--' + system.copy(FLine,FIndex,length(FLine)- FIndex + 1) ; |
2035 | + | Result := sqCommentLine; |
2036 | + | FIndex := 0; |
2037 | + | FNextSymbol := sqNone |
2038 | end; | |
2039 | ||
2040 | '<': |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |