mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 06:34:41 +01:00
[clang][utils] Also match "col:" when looking for the end of builtins
Some AST dump tests have no "line:" at all. See "ast-dump-wchar.cpp" for an example.
This commit is contained in:
@@ -48,6 +48,10 @@ BEGIN {
|
||||
skipping_builtins = 0
|
||||
}
|
||||
|
||||
/^[\`|].* col:/ {
|
||||
skipping_builtins = 0
|
||||
}
|
||||
|
||||
{
|
||||
if (skipping_builtins == 1) {
|
||||
matched_last_line = 0
|
||||
|
||||
Reference in New Issue
Block a user