Fixed problem with comment in preprocessor directive and last line of a file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@85 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
74813f6cb0
commit
d3123e583c
1 changed files with 1 additions and 0 deletions
|
|
@ -911,6 +911,7 @@ SWIG_cpp_parse(DOH *s)
|
|||
break;
|
||||
case 46:
|
||||
if (c == '\n') {
|
||||
Ungetc(c,s);
|
||||
cpp_lines++;
|
||||
state = 50;
|
||||
} else Putc(c,comment);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue