Community
Participate
Working Groups
Divide by zero expression in #if (#if 1/0) causes the parser to exit prematurely due to an ArithmeticException exception. e.g. #if 1/0 int i; #elif 2/0 int j; #endif int k;
Created attachment 13278 [details] test case
These defects will be addressed once we move to the new Scanner implementation we are working on in the HEAD.
This defect is fixed in HEAD w/Scanner2 implementation. It shall be marked as resolved once it has been fixed in 2.0.1 as well.
The merge from HEAD to 2_0 branch is complete. JUnits validating these fixes have been committed to both branches. Marking as RESOLVED - FIXED. The next available 2.0.1 build shall contain these fixes along with Parser performance/scalability improvements.
Verified fixed in windows & linux cdt build 200408271356. Mas Yokota, could you set the resolution to verified? thanks