Commit graph

16 commits

Author SHA1 Message Date
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
Mikhalkovich Stanislav e603b1fd6d Mikhalkovich в Copyright
Заготовка для школьного плагина образцов кода
2019-07-28 23:53:15 +03:00
miks1965 62c46514d0 fix #1351 2018-10-07 19:20:17 +03:00
andrewlord607 a8b5d90383 Удалён класс SymbolInfoList, теперь достаточно List<SymbolInfo>
Добавлена и частично интегрирована новая таблица символов
2018-04-14 18:29:11 +03:00
andrewlord607 aa79c94f6f Небольшой рефакторинг таблицы символов. 2017-10-23 11:21:15 +03:00
andrewlord607 31af590e95 Merge remote-tracking branch 'remotes/upstream/master'
# Conflicts:
#	Configuration/GlobalAssemblyInfo.cs
#	Configuration/Version.defs
#	ReleaseGenerators/PascalABCNET_version.nsh
#	TreeConverter/TreeConversion/compilation_context.cs
#	TreeConverter/TreeConversion/syntax_tree_visitor.cs
#	bin/Lib/PABCRtl.dll
2017-05-30 20:25:14 +03:00
Бондарев Иван 87f4005e0a PascalABCVersion is intrinsic function (bug fix #395) 2017-05-26 14:35:59 +02:00
andrewlord607 c697c95f81 extensionoperators2 test fix 2017-05-22 20:53:52 +03:00
andrewlord607 5afd8d05da bug fix 2017-05-22 02:49:59 +03:00
andrewlord607 4fddf5c66a SymbolTable refactoring #2 2017-05-20 21:20:02 +03:00
andrewlord607 8a6506e73e SymTable refactoring 2017-05-09 12:52:40 +03:00
Бондарев Иван 5ee8e64a93 remove not used __GetCurrentLine__ 2016-08-29 20:18:52 +02:00
Бондарев Иван d66003e90b bug fix #165 2016-06-24 21:16:50 +02:00
Artem Pelenitsyn 49378a6750 change encoding for all *.pas and *.cs files: cp1251 -> utf-8 2015-12-28 14:25:15 +03:00
Бондарев Иван 092d84d664 added license info in source files 2015-06-01 21:15:17 +02:00
Бондарев Иван e6e67c193c initial commit 2015-05-14 21:35:07 +02:00