diff --git a/ada/documentation.py b/ada/documentation.py index 73794a5b5..4d39a5401 100644 --- a/ada/documentation.py +++ b/ada/documentation.py @@ -158,7 +158,7 @@ """, 'libadalang.gpr_project_create_preprocessor': """ Create preprocessor data from compiler arguments found in the given GPR - project ``Self`` (``-gnateP`` and ``-gnateD`` compiler switches), or + project ``Self`` (``-gnatep`` and ``-gnateD`` compiler switches), or from the ``Project`` sub-project (if the argument is passed). If ``Line_Mode`` is not null, use it to force the line mode in each diff --git a/extensions/python b/extensions/python index 17f8ac7c3..a2a267a2f 100644 --- a/extensions/python +++ b/extensions/python @@ -291,7 +291,7 @@ class GPRProject: ) -> FileReader: """ Create preprocessor data from compiler arguments found in the given GPR - project (``-gnateP`` and ``-gnateD`` arguments), or from the + project (``-gnatep`` and ``-gnateD`` arguments), or from the ``project`` sub-project (if the argument is passed). Note that this function collects all arguments and returns an diff --git a/extensions/src/libadalang-implementation-c-extensions.ads b/extensions/src/libadalang-implementation-c-extensions.ads index cdfe51d26..ea8f903fe 100644 --- a/extensions/src/libadalang-implementation-c-extensions.ads +++ b/extensions/src/libadalang-implementation-c-extensions.ads @@ -150,7 +150,7 @@ package Libadalang.Implementation.C.Extensions is Line_Mode : access int) return ada_file_reader with Export, Convention => C; -- Create preprocessor data from compiler arguments found in the given GPR - -- project ``Self`` (``-gnateP`` and ``-gnateD`` compiler switches), or + -- project ``Self`` (``-gnatep`` and ``-gnateD`` compiler switches), or -- from the ``Project`` sub-project (if the argument is passed). -- -- If ``Line_Mode`` is not null, use it to force the line mode in each diff --git a/extensions/src/libadalang-preprocessing.ads b/extensions/src/libadalang-preprocessing.ads index b023217e1..ff17fa47a 100644 --- a/extensions/src/libadalang-preprocessing.ads +++ b/extensions/src/libadalang-preprocessing.ads @@ -300,7 +300,7 @@ package Libadalang.Preprocessing is (Tree : Prj.Project_Tree'Class; Project : Prj.Project_Type := Prj.No_Project) return Preprocessor_Data; -- Create preprocessor data from compiler arguments found in the given GPR - -- project (``-gnateP`` and ``-gnateD`` arguments). + -- project (``-gnatep`` and ``-gnateD`` arguments). -- -- If a non-null ``Project`` is given, look for compiler arguments in it -- and the other projects in its closure. If ``Project`` is left to