ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/runtime/nongui/ibxscript.pas
(Generate patch)

Comparing ibx/trunk/runtime/nongui/ibxscript.pas (file contents):
Revision 209 by tony, Wed Mar 14 12:48:51 2018 UTC vs.
Revision 225 by tony, Tue Apr 3 09:09:05 2018 UTC

# 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          '<':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines