Commit graph

16 commits

Author SHA1 Message Date
Sun Serega 2358149c70 convert all Lng files to UTF8+BOM 2024-05-06 01:15:29 +02:00
AlexanderZemlyak acb1be8c92
Directives fixes (#3110)
* Unify directive errors

* Add new quotesAreSpecialSymbols field to DirectifeInfo

* Rewrite directive parsing and checks

* Delete R+ directive from pascal tests
2024-05-05 18:12:35 +03:00
AlexanderZemlyak efb4a4338f
New checks for directives added (#3099)
* Extract base classes from ParserTools (local) and GPPGParserHelper

* Fix string resources error

* Extract base class for unexpected token error

* Update ParserTools project file

* Add comments for compiler directives usages in compiler

* Add directives checks

* Move string constants to new project

* Implement scalable directives checks

* Remove known directives from compiler

* Fix PABCSystem namespace error

* Allow region and endregion with no params

* Allow parameters to endif directive

* Delete directive parameters extension checks

* Replace error with warning for uknown directive case

* Fix generate native code (semantic rule) assigning

* Improve error messages for directives

* Rename RunParseThread to SwitchOnIntellisence

Для отладки может требоваться отключение Intellisence на уровне кода. Для понятности метод назван SwitchOnIntellisence.

* Resolve merge conflicts

* Add new compiler errors for unsupported target framework and output file type

* Add documentation to directives checks

* Fix directives check loop
2024-05-04 20:21:50 +03:00
samuraiGH 3e83d3e3b5 добавление директивы TargetFramework 2023-03-12 16:37:50 +03:00
samuraiGH 342b8d5272 fix #2494 2023-02-18 12:31:48 +03:00
SunSerega 30d7156c29 uses-in fix 2020-06-01 06:25:48 +03:00
Mikhalkovich Stanislav 4428011871 fix #2228 2020-05-21 13:31:44 +03:00
Mikhalkovich Stanislav 32a5606ac0 fix #2028 2019-07-14 11:55:23 +03:00
Бондарев Иван 5b3d5b417f fix #2008 2019-06-21 14:03:27 +02:00
Kotov 953a2e70a0 Директива {$Description 'FileDescription'} 2019-04-23 21:49:27 +03:00
Kotov e414042e8d Директива {$Title ' '}
Добавляет описание файлу. К примеру, в диспетчере задач у программы с данной директивой будет указано описание из директивы.
2019-04-22 22:12:15 +03:00
Kotov 7ded3e1535 Исправление кодировки отступов 2019-04-22 22:10:06 +03:00
Бондарев Иван 3557eab81f fix #1910 2019-04-21 11:08:18 +02:00
Бондарев Иван 466ac552d8 fix #1446 2018-11-04 12:06:43 +01:00
Бондарев Иван 95179ff92c bug fix #261 2016-08-03 20:00:15 +02:00
Бондарев Иван e6e67c193c initial commit 2015-05-14 21:35:07 +02:00