10 Commits

Author SHA1 Message Date
Ronan Desplanques
3b9a2746b6 Add support for "finally" GNAT extension
For a description of the extension, see the GNAT reference manual.

An effort has been made to minimize the impact on parsing error recovery.

Basic benchmarking was performed and showed no observable performance
impact.
2025-12-16 10:33:33 +01:00
Pierre-Marie de Rodat
b82edb1642 Update baselines after sloc range change for some empty lists in Langkit 2024-12-03 12:59:51 +00:00
Pierre-Marie de Rodat
16295cef2c Tests: ignore parsing errors with inline playground when necessary
Some tests mean to trigger a parsing error in Ada sources. For them,
disable the printing of parsing errors in the inline playground to avoid
polluting baselines.
2023-07-25 19:03:33 +00:00
Pierre-Marie de Rodat
b93ced9d69 Update baselines after a recent Langkit update 2023-06-09 12:01:39 +00:00
Pierre-Marie de Rodat
1ab5c037a8 Fix support for sources that contain multiple compilation units
This commit turns on the "PLE root" Langkit mechanism to be able to run
PLE on each compilation unit independently, even if compilation units
are stored in the same source file.

In addition, it extends all the unit provider where this is possible
(Auto_Provider, Project_Provider for GPR2) so that resolving a unit
yields a filename *plus* the compilation unit index in that source file.

Finally, it adds several testcases to exercize these features.
2023-05-25 13:05:19 +00:00
Pierre-Marie de Rodat
a84b68ee27 python/app/subprojects: new testcase 2023-05-03 08:39:26 +00:00
Pierre-Marie de Rodat
8a1335ac4f Python API: fix App.default_get_files when no GPR file is given 2023-04-05 08:24:06 +00:00
Pierre-Marie de Rodat
6fecb68c09 Reorganize App tests for the Python API 2023-04-05 08:24:06 +00:00
Pierre-Marie de Rodat
9273287f9d DefiningName: include the defined name in Image
TN: W102-012
2023-01-04 14:20:29 +00:00
Pierre-Marie de Rodat
4382a22f9c Reorganize the source tree
Move most of "ada/*" to the root directory (this makes sense, as this
repository has been dedicated to Libadalang for years), and rename
"ada/language" to "ada".

TN: T914-010
2020-11-02 16:51:46 +01:00