"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ps_pro_to_ph.awk" between
pstoedit-3.77.tar.gz and pstoedit-3.78.tar.gz

About: pstoedit translates PostScript and PDF graphics into other vector formats.

ps_pro_to_ph.awk  (pstoedit-3.77):ps_pro_to_ph.awk  (pstoedit-3.78)
BEGIN { BEGIN {
print "// DO NOT CHANGE THIS FILE. THIS FILE IS GENERATED FROM pstoedit.p ro "; print "// DO NOT CHANGE THIS FILE. THIS FILE IS GENERATED FROM pstoedit.p ro ";
print "// You can get pstoedit.pro from the author of pstoedit"; print "// You can get pstoedit.pro from the author of pstoedit";
print "// pstoedit.pro contains a lot more comments and explanations than pstoedit.ph"; print "// pstoedit.pro contains a lot more comments and explanations than pstoedit.ph";
print "const char * const PS_prologue[] = "; print "{"; print "const char * const PS_prologue[] = "; print "{";
} }
/^%\/\// { gsub(/%/,""); print $0; next;} /^%\/\// { gsub(/%/,""); print $0; next;}
/^[ \t]*%/ { next; } /^[ \t]*%/ { next; }
/^[ \t]*$$/ { next; } /^[ \t]*$$/ { next; }
{ gsub(/^[ \t]*/,""); { gsub(/^[ \t]*/,"");
gsub(/\\/,"\\\\"); # need to replace backslash with two backslashes
# in two rounds. Some does not work in posix mode
# when done in one step
gsub(/\\/,"BACKSLASHBACKSLASH");
gsub(/BACKSLASH/,"\\");
gsub(/"/,"\\\""); gsub(/"/,"\\\"");
print " \" " $0 " \","; } print " \" " $0 " \","; }
END { print "nullptr"; print "};" } END { print "nullptr"; print "};" }
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)