Indexer and ^Z (EOF) [message #1087189] |
Thu, 15 August 2013 08:58 |
Kim Brouer Messages: 1 Registered: August 2013 |
Junior Member |
|
|
The CDT indexers shipping with Juno and Kepler seem to dislike the ASCII character 26 (0x1A), that some Windows editors like to insert at the end of the file.
In those files, CDT doesn't find any references to static, file-scope variables.
The parser log says:
Scanner problems:
Bad character sequence encountered: in file: C:\...\xyz.c:444
If I modify the file and save it in Eclipse, it reparses and finds the references, even though the EOF character is still there and the parser log also still contains the message.
Modifying the file in an external editor, again leaving the EOF in place, makes the problem reappear.
The CDT in Indigo never exhibited any issues with those files.
Is this a known bug/feature, and is there a work around?
|
|
|
Powered by
FUDForum. Page generated in 0.02390 seconds