[Ferm] parser problem: quoted newline

Kiss Gabor (Bitman) kissg at ssg.ki.iif.hu
Tue Feb 25 15:47:02 CET 2014


Manual on page http://ferm.foo-projects.org/download/2.2/ferm.html writes:

'string'
	Quote a string which may contain whitespaces, the dollar sign etc.
"string"
	Quote a string (see above), but variable references with a dollar
	sign are evaluated:

According to general C and Perl conventions linefeed is definitely
a whitespace character so it might occur within both single and
double quoted strings legally.

However this construction leads to error:

@hook pre "command1;
	command2;
	command3" ;

Program complaints: ';' expected.

Gabor


More information about the Ferm mailing list