diff options
author | marha <marha@users.sourceforge.net> | 2013-01-07 16:11:46 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-01-07 16:11:46 +0100 |
commit | b73b2300e7f9b90369efd2f14f086f68ee15d55f (patch) | |
tree | 0e349d5a3c1debefe3ba69f0c3e0be1e3a392b9b /fontconfig/src/cleangperf.py | |
parent | 0e950715b62dcf30ffbf69831bf932fd348537e5 (diff) | |
download | vcxsrv-b73b2300e7f9b90369efd2f14f086f68ee15d55f.tar.gz vcxsrv-b73b2300e7f9b90369efd2f14f086f68ee15d55f.tar.bz2 vcxsrv-b73b2300e7f9b90369efd2f14f086f68ee15d55f.zip |
Solved compile problems in fontconfig introduced by latest merge
Diffstat (limited to 'fontconfig/src/cleangperf.py')
-rw-r--r-- | fontconfig/src/cleangperf.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fontconfig/src/cleangperf.py b/fontconfig/src/cleangperf.py new file mode 100644 index 000000000..a276312c9 --- /dev/null +++ b/fontconfig/src/cleangperf.py @@ -0,0 +1,8 @@ +import sys,re + +inbuffer=sys.stdin.read() +inbuffer=re.sub(r'[ \t\r\n]*\n[ \t]*',r'\n',inbuffer) +inbuffer=re.sub(r'[ \t\r\n]*,[ \t\r\n]',r',',inbuffer) +inbuffer=re.sub(r'\n#[^\n]+','',inbuffer) +sys.stdout.write(inbuffer) + |