--- linuxsampler/trunk/scripts/update_grammar.pl 2007/09/30 20:04:11 1360 +++ linuxsampler/trunk/scripts/update_grammar.pl 2007/09/30 20:24:20 1361 @@ -56,16 +56,16 @@ $_ = $line; # remove C++ code s/\{\p{IsASCII}*\}//g; - s/\/\/\p{IsASCII}*$/\n/g; + s/\/\/\p{IsASCII}*$/\r\n/g; s/\{//g; s/\}//g; # place XML tags - s!^(\w+)\s*:\s*(\p{IsASCII}*)!$1 =\n\t\n\t\t$2!; - s!^\s+\|\s*(\p{IsASCII}*)!\t\t\n\t\t/ $1!; - s!^\s*;(\p{IsASCII}*)!\t\t\n\t\n!; + s!^(\w+)\s*:\s*(\p{IsASCII}*)!$1 =\r\n\t\r\n\t\t$2!; + s!^\s+\|\s*(\p{IsASCII}*)!\t\t\r\n\t\t/ $1!; + s!^\s*;(\p{IsASCII}*)!\t\t\r\n\t\r\n!; #s/://g; # remove space(s) at the end of each line - s/\s+$/\n/g; + s/\s+$/\r\n/g; $yacc_in[$i] = $_; $i++; }