Skip to content

Commit e63402e

Browse files
author
Daniel Kroening
committed
added _Null_unspecified clang extension
1 parent 16a49a7 commit e63402e

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
@@ -1389,6 +1389,14 @@ __decltype { if(PARSER.cpp98 &&
13891389
return make_identifier();
13901390
}
13911391

1392+
/* This is a clang extension */
1393+
1394+
"_Null_unspecified" { if(PARSER.mode==configt::ansi_ct::flavourt::CLANG)
1395+
{ /* ignore */ }
1396+
else
1397+
return make_identifier();
1398+
}
1399+
13921400
}
13931401

13941402
/* operators following */

0 commit comments

Comments
 (0)