Alessandro Bonazzi 8c43d5cf2f Patch level : 12.00
Files correlati     : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe

Bug                 :

Commento:
Merge 1.0 libraries
2025-04-06 00:42:21 +02:00

34 lines
584 B
Prolog

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" )
}