cat test.plt
print("test $1")
Calling the avobe file from gnuplot results in
test
According to the old style syntax for call.
In previous versions this would have resulted in
test $1
so this is a regression.
Adding a second '$' works for strings, print("test $$1")
does print test $1
.
But this second approach fails for expanding macros.
The behavior in the previous version (5.2.8) was dependent on configuration option
--enable-backwards-compatibility
But you are correct that the intended full deprecation of the old syntax in 5.4 went wrong. The configuration option was removed, but the test for it in the code ended up essentially hard-coding the "enable" setting rather than the intended "disable". Oops.