Skip to content

Commit

Permalink
Merge branch 'pmderodat/preprocessing' into 'master'
Browse files Browse the repository at this point in the history
Fix "-gnateP" typos in comments

See merge request eng/libadalang/libadalang!1452
  • Loading branch information
pmderodat committed Nov 6, 2023
2 parents 388f35d + 1a8a262 commit 4c53401
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ada/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion extensions/python
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion extensions/src/libadalang-implementation-c-extensions.ads
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion extensions/src/libadalang-preprocessing.ads
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c53401

Please sign in to comment.