diff --git a/autotests/folding/highlight.cmake.fold b/autotests/folding/highlight.cmake.fold --- a/autotests/folding/highlight.cmake.fold +++ b/autotests/folding/highlight.cmake.fold @@ -45,5 +45,7 @@ #calling a self-defined function, variables are also Qt::blue here ECOS_ADD_EXECUTABLE(${PROJECT_NAME} ${the_sources} ${qt4_moc_SRCS}) +if((A AND B) OR C) +endif() diff --git a/autotests/html/highlight.cmake.html b/autotests/html/highlight.cmake.html --- a/autotests/html/highlight.cmake.html +++ b/autotests/html/highlight.cmake.html @@ -35,7 +35,7 @@ PRE_LINK COMMAND ${CMAKE_C_COMPILER} ARGS -o ${_exe_NAME} -$\(${_exe_NAME}_SRC_OBJS\) -nostdlib -nostartfiles -Lecos/install/lib -Ttarget.ld +$\(${_exe_NAME}_SRC_OBJS\) -nostdlib -nostartfiles -Lecos/install/lib -Ttarget.ld ) #add the created files to the make_clean_files @@ -51,6 +51,8 @@ #calling a self-defined function, variables are also Qt::blue here ECOS_ADD_EXECUTABLE(${PROJECT_NAME} ${the_sources} ${qt4_moc_SRCS}) +if((A AND B) OR C) +endif() diff --git a/autotests/input/highlight.cmake b/autotests/input/highlight.cmake --- a/autotests/input/highlight.cmake +++ b/autotests/input/highlight.cmake @@ -45,5 +45,7 @@ #calling a self-defined function, variables are also Qt::blue here ECOS_ADD_EXECUTABLE(${PROJECT_NAME} ${the_sources} ${qt4_moc_SRCS}) +if((A AND B) OR C) +endif() diff --git a/autotests/reference/highlight.cmake.ref b/autotests/reference/highlight.cmake.ref --- a/autotests/reference/highlight.cmake.ref +++ b/autotests/reference/highlight.cmake.ref @@ -29,7 +29,7 @@ PRE_LINK
COMMAND ${CMAKE_C_COMPILER}
ARGS -o ${_exe_NAME}
-$\(${_exe_NAME}_SRC_OBJS\) -nostdlib -nostartfiles -Lecos/install/lib -Ttarget.ld
+$\(${_exe_NAME}_SRC_OBJS\) -nostdlib -nostartfiles -Lecos/install/lib -Ttarget.ld
)

#add the created files to the make_clean_files
@@ -45,5 +45,7 @@ #calling a self-defined function, variables are also Qt::blue here
ECOS_ADD_EXECUTABLE(${PROJECT_NAME} ${the_sources} ${qt4_moc_SRCS})

+if((A AND B) OR C)
+endif()


diff --git a/data/syntax/cmake.xml b/data/syntax/cmake.xml --- a/data/syntax/cmake.xml +++ b/data/syntax/cmake.xml @@ -28,7 +28,7 @@ - - - - + + + + - - + + - - + + - - + + - + - + @@ -1226,17 +1226,28 @@ + + + + + + + + + + +