mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 21:53:48 +01:00
12 lines
214 B
Plaintext
12 lines
214 B
Plaintext
|
#!/usr/bin/perl -w -p -i
|
||
|
|
||
|
next if m#^ */\*# or m#^ *\* #;
|
||
|
|
||
|
s/<([,)])/OP_LT$1/;
|
||
|
s/(?<=[\s,])>([,)])/OP_GT$1/;
|
||
|
#s/>([,)])/OP_GT$1/;
|
||
|
s/==([,)])/OP_EQ$1/;
|
||
|
s/>=([,)])/OP_GE$1/;
|
||
|
s/<=([,)])/OP_LE$1/;
|
||
|
s/!=([,)])/OP_NE$1/;
|