Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Syntax highlighting anomally

andrew_4619
Honored Contributor III
982 Views

I very minor issue that confused me for a short while. The red number in the attachment should not be red it is triggered by a "!" comment after and "&" on the previous line,

The Versions are:

Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel

Intel(R) Visual Fortran     Package ID: w_fcompxe_2013_sp1.1.139Intel(R) Visual Fortran Composer XE 2013 SP1 Update 1 Integration for Microsoft Visual Studio* 2010, 14.0.0074.2010, Copyright (C) 2002-2013 Intel Corporation

 

0 Kudos
7 Replies
Martyn_C_Intel
Employee
982 Views

 I'm escalating that to the development team as a low priority bug. (As you say, it's quite minor).

Thanks for reporting; if we don't hear about the little blemishes, we can't fix them.

0 Kudos
Martyn_C_Intel
Employee
982 Views

A fix for this issue is planned for a future compiler version.

0 Kudos
andrew_4619
Honored Contributor III
982 Views

Thanks

0 Kudos
IanH
Honored Contributor III
982 Views

On the topic of syntax highlighting anomalies, character strings split over multiple lines using line continuation get muddled up.

CharacterLiteralTokenSplittingIsAwesome.png

0 Kudos
Martyn_C_Intel
Employee
982 Views

I can reproduce that.  The highlighting is correct if the second continuation character is in column 1, but not if, as above, there are leading blanks. I'll forward this case to the developers, also.

Thanks for reporting it.

0 Kudos
DavidWhite
Valued Contributor II
982 Views

Martyn,

Highlighting is also incorrect if the first character is a tab (and not converted to blanks).

David

0 Kudos
Martyn_C_Intel
Employee
982 Views

The highlighting issue for strings that are split between continuation lines is expected to be fixed in the next major compiler version.

I've informed engineering of the variant with a leading tab instead of leading blanks, but I expect that the fix that takes care of one should also take care of the other.

0 Kudos
Reply