fdcb2b43a9e921eb4407b0c747851fccb1fb3285
The split-tag scanner skipped the attributes on <catch ...>, so <catch name="err"> never stored the error text and every caught error read as "". Keep them in Tag::splitKeywords, and have <try> use the catch tag's name and scope when the try tag itself has no name. Tested live on barant.com: <catch name> and <try name> both store the error, including scope="session" and single-quoted attributes; the catch block still runs; no error leaves the name unset; nested tries catch body errors at the right level. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
HTML
49.1%
TeX
18.2%
C++
16.6%
JavaScript
7.3%
CSS
4.3%
Other
4.5%