Skip to content

Commit 3ce93a1

Browse files
author
Daniel Kroening
committed
added _Null_unspecified clang extension
1 parent 0b5faa4 commit 3ce93a1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ansi-c/scanner.l

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,6 +1384,14 @@ __decltype { if(PARSER.cpp98 &&
13841384
return make_identifier();
13851385
}
13861386

1387+
/* This is a clang extension */
1388+
1389+
"_Null_unspecified" { if(PARSER.mode==configt::ansi_ct::flavourt::CLANG)
1390+
{ /* ignore */ }
1391+
else
1392+
return make_identifier();
1393+
}
1394+
13871395
}
13881396

13891397
/* operators following */

0 commit comments

Comments
 (0)