Skip to content

Makefile parsing bug? #13

@aeschli

Description

@aeschli

From @akshaya-a on April 26, 2017 20:29

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 6eaebe3b9c70406d67c97779468c324a7a95db0e
    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

Copied from original issue: microsoft/vscode#25469

Metadata

Metadata

Assignees

No one assigned

    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