GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
ada

Ada Now Requires Compilation Units to Have No Indentation

The Ada compiler now enforces a style rule disallowing indentation for the start of compilation units.

The Ada compiler now enforces a stricter style rule: compilation units must start without any indentation. Previously, the compiler only required the start to be a multiple of the indentation value. This change ensures a consistent code style across Ada projects.

In Details

This commit modifies par-ch10.adb to enforce a stricter indentation rule for Ada compilation units. The parser now requires that compilation units begin at column 1, aligning with a specific style guideline.

For Context

Coding style guidelines help ensure code is consistent and readable across a project. This commit enforces a new, stricter rule in the Ada compiler: all Ada source files must begin with the first statement at the leftmost column, with no indentation. This can improve readability and maintainability.

Filed Under: adastyleindentation