Skip to content

Commit c9e9ba2

Browse files
author
Daniel Kroening
committed
added _Null_unspecified clang extension
1 parent 7839c49 commit c9e9ba2

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
@@ -1377,6 +1377,14 @@ __decltype { if(PARSER.cpp98 &&
13771377
return make_identifier();
13781378
}
13791379

1380+
/* This is a clang extension */
1381+
1382+
"_Null_unspecified" { if(PARSER.mode==configt::ansi_ct::flavourt::CLANG)
1383+
{ /* ignore */ }
1384+
else
1385+
return make_identifier();
1386+
}
1387+
13801388
}
13811389

13821390
/* operators following */

0 commit comments

Comments
 (0)