|<< Back to previous view|
[PCC-394] error: out of macro space! Created: 20/Jun/12 Updated: 28/Jul/12
|Reporter:||Hannes Loeffler||Assignee:||Anders Magnusson|
I am not sure if this is really a bug or just my poor understanding of the preprocessor but the attached file will cause an error message if run with 'cpp macro.c':
macro.c:10: error: out of macro space!
The problem is obviously caused by the terminating slash in line 2. If removed cpp expands the macros just fine.
|Comment by Anders Magnusson [ 27/Jul/12 09:44 PM ]|
The construction // is created inside the macro while expanding, causing cpp to assume that it is a comment.
Logic must be added to distinguish this from a comment that is legal, created by -C for lint.
|Comment by Anders Magnusson [ 28/Jul/12 10:21 PM ]|
|Fixed now, thanks for the bug report!|