pascalabcnet/Optimizer
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
..
Properties copyrights 2024-01-04 11:04:04 +01:00
Optimizer.cs New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
Optimizer.csproj New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
OptimizerTools.cs Mikhalkovich в Copyright 2019-07-28 23:53:15 +03:00
SemanticTreeConverter.cs copyrights 2024-01-04 11:04:04 +01:00
Warnings.cs Mikhalkovich в Copyright 2019-07-28 23:53:15 +03:00