Skip to content

Add .scp Sybase ASE stored procedure support - #985

Merged
AlDanial merged 1 commit into
AlDanial:masterfrom
ldbferreira:feature/add-scp-stored-procedure
Sep 2, 2026
Merged

Add .scp Sybase ASE stored procedure support#985
AlDanial merged 1 commit into
AlDanial:masterfrom
ldbferreira:feature/add-scp-stored-procedure

Conversation

@ldbferreira

@ldbferreira ldbferreira commented Aug 27, 2026

Copy link
Copy Markdown

Sybase/SAP Adaptive Server Enterprise 15.7 tooling can export stored procedures as .scp scripts. These files contain Transact-SQL such as create proc, but cloc currently ignores them because the extension is not recognized.

  • Maps .scp to the existing SQL Stored Procedure language definition.
  • Uses the existing SQL rules for -- line comments and /* ... */ block comments.
  • Updates the recognized languages list in the README.
  • Adds a synthetic Sybase ASE export fixture, its expected YAML output, and a regression case in Unix/t/00_C.t.
  • The regression fixture covers an ASE-style export header, create proc, Transact-SQL parameters, and the go batch terminator.

The new regression case passes with the development source and reports 6 comment lines and 10 code lines. On Windows, 673 of 680 language-suite checks pass; the seven unrelated failures are platform-sensitive existing fixtures for Bazel, Containerfile, Go, HolyC, Python wheel, Rmd, and Snakemake.

@ldbferreira
ldbferreira force-pushed the feature/add-scp-stored-procedure branch from d2e85d6 to a45c1c0 Compare August 27, 2026 22:32
@ldbferreira ldbferreira changed the title Add .scp SQL stored procedure support Add .scp Sybase ASE stored procedure support Aug 27, 2026
@AlDanial
AlDanial merged commit b379852 into AlDanial:master Sep 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants