tests/auto/qmake/testdata/comments/comments.pro
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Wed, 21 Apr 2010 09:15:16 +0300
branchRCL_3
changeset 11 68d3b337861b
parent 0 1918ee327afb
permissions -rw-r--r--
bac24638cd0e032feaaaf81f375284a059242729

LIST = 1 2 3 4 #a comment
!equals( LIST, 1 2 3 4 ) {
   message( "FAILED: inline comment" )
}

LIST = 1 \
       2 \
#      3 \
       4
!equals( LIST, 1 2 4 ) {
   message( "FAILED: commented out continuation" )
}

LIST = 1 \
       2 \#comment
       3 \
       4
!equals( LIST, 1 2 3 4 ) {
    message( "FAILED: comment at end of continuation")
}


LIST = 1 2 3 4#comment
!equals( LIST, 1 2 3 4 ) {
    message( "FAILED: no space before comment" )
}

LIST = 1 2 3 4$${LITERAL_HASH}five
!equals( LIST, 1 2 3 4$${LITERAL_HASH}five ) {
    message( "FAILED: using LITERAL_HASH" )
}