Убрал слово packed. Захламляет грамматику

This commit is contained in:
Mikhalkovich Stanislav 2022-05-08 20:44:14 +03:00
parent 104f0d43da
commit 8b60c3ced5
12 changed files with 3196 additions and 3217 deletions

View file

@ -15,7 +15,7 @@ internal static class RevisionClass
public const string Major = "3";
public const string Minor = "8";
public const string Build = "3";
public const string Revision = "3116";
public const string Revision = "3119";
public const string MainVersion = Major + "." + Minor;
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;

View file

@ -1,4 +1,4 @@
%COREVERSION%=3
%REVISION%=3116
%MINOR%=8
%REVISION%=3119
%COREVERSION%=3
%MAJOR%=3

View file

@ -89,7 +89,7 @@ PascalABC.NET
<li><A href="ExceptionHandling/Overview.html">Îáðàáîòêà èñêëþ÷åíèé</a>
<li><A href="Classes/extensionmethods.html">Ìåòîäû ðàñøèðåíèÿ</a>
<li><A href="Interfaces/indexinterf.html">Èíòåðôåéñû</a>
<li><A href="Classes/attributes.html">Àòðèáóòû</a> (â ðàçðàáîòêå)</li>
<li><A href="Classes/attributes.html">Àòðèáóòû</a></li>
</ul>
<h2>Ôóíêöèîíàëüíîå ïðîãðàììèðîâàíèå</h2>
<ul>

View file

@ -1,9 +1,9 @@
//
// This CSharp output file generated by Gardens Point LEX
// Version: 1.1.3.301
// Machine: DESKTOP-2BJCJ7I
// DateTime: 15.04.2022 12:29:57
// UserName: ibond
// Machine: DESKTOP-G8V08V4
// DateTime: 08.05.2022 19:51:09
// UserName: ?????????
// GPLEX input file <ABCPascal.lex>
// GPLEX frame file <embedded resource>
//
@ -1957,7 +1957,6 @@ string cur_yytext = yytext;
case (int)Tokens.tkEvent:
case (int)Tokens.tkDefault:
case (int)Tokens.tkTemplate:
case (int)Tokens.tkPacked:
case (int)Tokens.tkExports:
case (int)Tokens.tkResourceString:
case (int)Tokens.tkThreadvar:

View file

@ -371,7 +371,6 @@ UNICODEARROW \x890
case (int)Tokens.tkEvent:
case (int)Tokens.tkDefault:
case (int)Tokens.tkTemplate:
case (int)Tokens.tkPacked:
case (int)Tokens.tkExports:
case (int)Tokens.tkResourceString:
case (int)Tokens.tkThreadvar:

View file

@ -36,7 +36,7 @@
%token <ti> tkBackSlashRoundOpen
%token <ti> tkSizeOf tkTypeOf tkWhere tkArray tkCase tkClass tkAuto tkStatic tkConst tkConstructor tkDestructor tkElse tkExcept tkFile tkFor tkForeach tkFunction tkMatch tkWhen
%token <ti> tkIf tkImplementation tkInherited tkInterface tkProcedure tkOperator tkProperty tkRaise tkRecord tkSet tkType tkThen tkUses tkVar tkWhile tkWith tkNil
%token <ti> tkGoto tkOf tkLabel tkLock tkProgram tkEvent tkDefault tkTemplate tkPacked tkExports tkResourceString tkThreadvar tkSealed tkPartial tkTo tkDownto
%token <ti> tkGoto tkOf tkLabel tkLock tkProgram tkEvent tkDefault tkTemplate tkExports tkResourceString tkThreadvar tkSealed tkPartial tkTo tkDownto
%token <ti> tkLoop
%token <ti> tkSequence tkYield tkShortProgram tkVertParen tkShortSFProgram
%token <id> tkNew
@ -156,7 +156,7 @@
%type <td> set_type
%type <ex> as_is_expr as_is_constexpr is_type_expr as_expr power_expr power_constexpr
%type <td> unsized_array_type simple_type_or_ simple_type simple_type_question/*array_name_for_new_expr*/ foreach_stmt_ident_dype_opt fptype type_ref fptype_noproctype array_type
%type <td> template_param template_empty_param structured_type unpacked_structured_type empty_template_type_reference simple_or_template_type_reference simple_or_template_or_question_type_reference type_ref_or_secific for_stmt_decl_or_assign type_decl_type
%type <td> template_param template_empty_param structured_type empty_template_type_reference simple_or_template_type_reference simple_or_template_or_question_type_reference type_ref_or_secific for_stmt_decl_or_assign type_decl_type
%type <stn> type_ref_and_secific_list
%type <stn> type_decl_sect
%type <stn> try_handler
@ -1511,13 +1511,6 @@ pointer_type
;
structured_type
: unpacked_structured_type
{ $$ = $1; }
| tkPacked unpacked_structured_type
{ $$ = $2; }
;
unpacked_structured_type
: array_type
{ $$ = $1; }
| record_type

File diff suppressed because it is too large Load diff

View file

@ -113,7 +113,6 @@ namespace GPPGParserScanner
keywords.Add(Convert("with"), (int)Tokens.tkWith);
keywords.Add(Convert("program"), (int)Tokens.tkProgram);
keywords.Add(Convert("template"), (int)Tokens.tkTemplate);
keywords.Add(Convert("packed"), (int)Tokens.tkPacked);
keywords.Add(Convert("resourcestring"), (int)Tokens.tkResourceString);
keywords.Add(Convert("threadvar"), (int)Tokens.tkThreadvar);
keywords.Add(Convert("sealed"), (int)Tokens.tkSealed);

View file

@ -225,7 +225,6 @@
<name value="template_type" />
<name value="pointer_type" />
<name value="structured_type" />
<name value="unpacked_structured_type" />
<name value="unsized_array_type" />
<name value="set_type" />
<name value="file_type" />

View file

@ -357,5 +357,6 @@ script=

View file

@ -1 +1 @@
3.8.3.3116
3.8.3.3119

View file

@ -1 +1 @@
!define VERSION '3.8.3.3116'
!define VERSION '3.8.3.3119'