fix #2151
This commit is contained in:
parent
5b03b8939e
commit
f183403a08
|
|
@ -15,7 +15,7 @@ internal static class RevisionClass
|
|||
public const string Major = "3";
|
||||
public const string Minor = "5";
|
||||
public const string Build = "1";
|
||||
public const string Revision = "2271";
|
||||
public const string Revision = "2274";
|
||||
|
||||
public const string MainVersion = Major + "." + Minor;
|
||||
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%MINOR%=5
|
||||
%REVISION%=2271
|
||||
%COREVERSION%=1
|
||||
%REVISION%=2274
|
||||
%MINOR%=5
|
||||
%MAJOR%=3
|
||||
|
|
|
|||
|
|
@ -438,7 +438,7 @@ namespace GPPGParserScanner
|
|||
int sqbracked_pos = s.LastIndexOf(']');
|
||||
if (comma_pos != -1 && comma_pos > bracket_pos && comma_pos > sqbracked_pos)
|
||||
colon_pos = comma_pos;
|
||||
if (colon_pos != -1 && s.IndexOf('?') == -1)
|
||||
if (colon_pos != -1 && s.IndexOf('?') == -1 && s.Substring(colon_pos).IndexOf(']') == -1)
|
||||
{
|
||||
var_formats.Add(ind, s.Substring(colon_pos));
|
||||
s = s.Substring(0, colon_pos);
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
3.5.1.2271
|
||||
3.5.1.2274
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!define VERSION '3.5.1.2271'
|
||||
!define VERSION '3.5.1.2274'
|
||||
|
|
|
|||
4
TestSuite/InterpSlice.pas
Normal file
4
TestSuite/InterpSlice.pas
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
begin
|
||||
var s := 'sfgjsfj';
|
||||
Assert($'{s[2:4]}'='fg');
|
||||
end.
|
||||
|
|
@ -56,7 +56,7 @@ cd ReleaseGenerators
|
|||
call PascalABCNETWithDotNet40.bat
|
||||
|
||||
cd ..
|
||||
%call Studio.bat /t:rebuild "/property:Configuration=Release" PascalABCNET.sln
|
||||
call Studio.bat /t:rebuild "/property:Configuration=Release" PascalABCNET.sln
|
||||
|
||||
GOTO EXIT
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue