Skip to content

Makefile parsing bug? #25469

@akshaya-a

Description

@akshaya-a

The following lines in CNTK's Makefile appear to break syntax highlighting in VSCode. The first breaks all highlighting after it, and the nested ifdefs don't show up highlighted as "ifdef". I don't know enough about any of this to say whether this is a VSCode or CNTK problem, but thought I'd start here :)

Apologies for weird markdown due to code

  1. Line 103
CXXVER_GE480:= $(shell expr `$(CXX) -dumpversion | sed -e 's/\.\([0-9][0-9]\)/\1/g' -e 's/\.\([0-9]\)/0\1/g' -e 's/^[0-9]\{3,4\}$$/&00/'` \>= 40800)
  1. Line 122
ifdef CUDA_PATH
  ifndef GDK_INCLUDE_PATH
  • VSCode Version:
    Version 1.11.2
    Commit 6eaebe3
    Date 2017-04-13T08:03:11.395Z
    Shell 1.4.6
    Renderer 53.0.2785.143
    Node 6.5.0
  • OS Version:
    Windows 10 Creator's Update

Steps to Reproduce:

  1. Open https://github.com/Microsoft/CNTK/blob/master/Makefile

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions