This commit is contained in:
Mikhalkovich Stanislav 2019-11-23 19:23:04 +03:00
parent 5b03b8939e
commit f183403a08
7 changed files with 11 additions and 7 deletions

View file

@ -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;

View file

@ -1,4 +1,4 @@
%MINOR%=5
%REVISION%=2271
%COREVERSION%=1
%REVISION%=2274
%MINOR%=5
%MAJOR%=3

View file

@ -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);

View file

@ -1 +1 @@
3.5.1.2271
3.5.1.2274

View file

@ -1 +1 @@
!define VERSION '3.5.1.2271'
!define VERSION '3.5.1.2274'

View file

@ -0,0 +1,4 @@
begin
var s := 'sfgjsfj';
Assert($'{s[2:4]}'='fg');
end.

View file

@ -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