Merge pull request #2761 from kugelfuhr/kugelfuhr/fix-2231
Allow comments within _Pragma()
This commit is contained in:
10
test/val/bug2231.c
Normal file
10
test/val/bug2231.c
Normal file
@@ -0,0 +1,10 @@
|
||||
_Pragma("message/*Comment1*/ ( /*Comment2*/\"test message\" /*Comment3*/)")
|
||||
/* We have no pragma without parenthesis but if there would be one, the
|
||||
** following should also work:
|
||||
*/
|
||||
/* _Pragma("once// Comment") */
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user