Repository navigation
SQL Mode E: shield /* */ comments, DDL head behind a comment (Part of #5736) - #5837
Conversation
…comment is not a call (Part of #5736) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5837 @ e744087: 1 failed check(s) == Small audits (failure) -- real |
…d-key audit) (Part of #5736) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (62eb96b) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #5837 @ 62eb96b: 1 failed check(s) == Call resolution (Level 2, vs pyan3) (failure) -- real |
Part of #5736. Follow-up to #5735.
Checklist: done [c:e9766964]
Checklist: done [c:0997ebe5]
Checklist: partial [c:0755f773] -- not touched:
call_site_datafor SQL is a separate channelChecklist: partial [c:6a180fa3] -- not touched: Db2
CALLinside COBOLEXEC SQLis #4304What
_slice_by_terminator(Mode E) shielded only--/%comments, so a;(orCREATE) inside a/* */license header ended/ignited a statement mid-comment; the next chunk'sCopyright (C)/X (the ...)then read as calls and the routine lost its name. For SQL,/* ... */is now blanked (newlines preserved) in the scan copy; the stored block text is unchanged."", so MySQLCREATE TABLE /*prefix*/blobs (hid the DDL head._SQL_NOT_A_CALLnow tolerates one""between keyword and name.Class: SQL comment/shield noise in calls_out
;in/* */header slices mid-commentKEYWORD /*c*/name (DDL head/* c */ g(x)real call after a comment/* */is a possible sibling)Evidence
Tests:
test_sql_calls_out_5635.py+5 cases; 443 sql/db2/pg/sqlite/erlang/prolog extraction tests and 51 core_engine mode-e tests pass.crucible_check.pyboth legs PASS, no golden diff.pr_gates --fast7/7,--ratchets8/8 (none skipped).Cross-repo: none.
Remaining slices
call_site_datafor SQL (new channel).CALLinside COBOLEXEC SQL(COBOL engine:EXEC SQL CALL procis recorded as a COBOL dynamic CALL (operand = the schema qualifier) #4304).Sibling gaps
/* */comments are not shielded either (no burned-estate need).🤖 Generated with Claude Code