PP: Fix issue #407; handle empty identifier.

The sequence

  #define m()
  int m"

creates a token of no length (a string of 0 size).  Protect
against a string of 0 size as well as the existing protect
against a null string.
This commit is contained in:
John Kessenich
2016-07-30 13:39:52 -06:00
parent 7208473c69
commit 11e1a073f3
4 changed files with 11 additions and 4 deletions

View File

@@ -1,2 +1,5 @@
#define m#0#
#if m
#define n()
int n"