BUG: Visual Workbench Interprets /* in a String as a CommentLast reviewed: July 22, 1997Article ID: Q120960 |
1.00 1.50 1.51
WINDOWS
kbtool kbbuglist
The information in this article applies to:
SYMPTOMSThe Visual Workbench uses color coded syntax to make programming easier. If "/*" (without the quotation marks) is part of a literal string, the development environment interprets it as the beginning of a comment and changes the color of all the text in the file until the environment finds a matching "*/" (without the quotation marks) to end the comment. The sample code in the More Information section below illustrates this problem.
STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. This is not a problem in Visual C++ 32-bit Edition.
MORE INFORMATION
Sample Code
/* Remove the space between the */ /* slash and star to see the problem */ char test[20]="/ *"; void main(void){ }
|
Additional reference words: 1.00 1.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |