2015-08-28 10:41:26 |
Kirill Zaitsev |
description |
Usually I expect string literal content cannot break program. And I believe it is true for most of the programming languages that any character in the string literal must not lead to syntax error (except of escape sequences)
In the MuranoPL row like this
- $log.debug('debug: {0}', param)
leads to syntax error
but if we remove colon like this
- $log.debug('debug {0}', param)
it become syntactically correct
I believe that such kind of behaviour should be fixed or should be explained in the MuranoPL documentation at least
My script with the colon at the last row which breaks the Syntax
http://paste.openstack.org/show/430743/ |
Usually I expect that string literals will not break program execution. And I believe it is true for most of the programming languages that any character in the string literal must not lead to syntax error (except of escape sequences)
In the MuranoPL row with a colon (':') like this
- $log.debug('debug: {0}', param)
leads to syntax error
but if we remove colon like this
- $log.debug('debug {0}', param)
it become syntactically correct
I believe that such kind of behaviour should be fixed or should be explained in the MuranoPL documentation at least
My script with the colon at the last row which breaks the Syntax
http://paste.openstack.org/show/430743/ |
|