* Add new 'disable standard units' directive and it's processing * Refactor InitializeNewUnit function * Improve disable standard units directive checks * Add null check in programs.cs to avoid error * Rename error related to disable standard units directive * Add referencing standard net libraries * Add checks for duplicates when injecting references
28 lines
1.7 KiB
Plaintext
28 lines
1.7 KiB
Plaintext
//Compiler error messages
|
|
%PREFIX%=COMPILATIONERROR_
|
|
|
|
PROGRAM_MODULE_EXPECTED=Program expected but unit found
|
|
UNIT_MODULE_EXPECTED=Unit expected but program found
|
|
READ_PCU{0}_ERROR=Error at reading PCU file '{0}'
|
|
ASSEMBLY_{0}_NOT_FOUND=Assembly '{0}' not found
|
|
UNIT_{0}_NOT_FOUND=Unit '{0}' not found
|
|
SOURCE_FILE_{0}_NOT_FOUND=File '{0}' not found
|
|
NO_ACCESS_TO_FILE{0}=No access to the file '{0}'
|
|
CYCLIC_UNIT_REFERENCE_WITH_UNIT_{0}=Cyclic unit reference with unit '{0}'
|
|
UNDEFINED_SEMANTIC_ERROR{0}=Undefined semantic error : {0}
|
|
RESOURCEFILE_{0}_NOT_FOUND=Resource file '{0}' not found
|
|
DUPLICATE_USES_UNIT{0}=Duplicate identifier '{0}' in uses section
|
|
MAINRESOURCE_NOT_ALLOWED=mainresource can not be used with the directives: product, version, company, trademark, title, description, copyright
|
|
DUPLICATE_DIRECTIVE{0}=Duplicate directive {0}
|
|
FILE_{0}_NOT_FOUND=File '{0}' not found
|
|
NAMESPACE_CAN_BE_COMPILED_ONLY_IN_PROJECTS=Files with namespaces can be compiled only inside projects
|
|
NAMESPACE_CANNOT_HAVE_IN_SECTION=Namespace cannot have 'in' section
|
|
APPTYPE_DLL_IS_ALLOWED_ONLY_FOR_LIBRARIES=Parameter 'dll' in 'apptype' directive is allowed only for libraries
|
|
DISABLE_STANDARD_UNITS_DIRECTIVE_DISALLOWED_IN_USED_UNITS=Directive 'DisableStandardUnits' is disallowed in attached (by uses keyword) units
|
|
USES_IN_WRONG_NAME=Unit name in uses-in ({0}) must be same as file name ({1})
|
|
UNSUPPORTED_TARGETFRAMEWORK_{0}=TargetFramework '{0}' is not supported
|
|
UNSUPPORTED_TARGET_PLATFORM{0}=Platform '{0}' is not supported
|
|
UNSUPPORTED_OUTPUT_FILE_TYPE{0}=Output file type '{0}' is not supported
|
|
|
|
%PREFIX%=
|
|
COMPILER_INTERNAL_ERROR_IN_UNIT_{0}_:{1}=Internal compiler error in module {0} :'{1}' |