uyha / tree-sitter-cmake

A Tree-sitter parser for CMake
MIT License
41 stars 9 forks source link

foreach break #17

Closed Decodetalkers closed 1 year ago

Decodetalkers commented 1 year ago
foreach()
    target_link_libraries(ss PUBLIC
        ${Qt5Gui_LIBRARIES}
        PkgConfig::libevent_core)
    # Not Format Me
    target_include_directories(ss PUBLIC
        ${Qt5Gui_INCLUDE_DIRS}
    )
endforeach()

this is error now

Decodetalkers commented 1 year ago

when a ${} in for foreach, it error

Decodetalkers commented 1 year ago

sorry, my fault

uyha commented 1 year ago

wut 😄

Decodetalkers commented 1 year ago

wut 😄

Emm.. I miss use the foreach, it need a argument. Sorry so much

uyha commented 1 year ago

no worries