Changeset 1344 for trunk/devel/run


Ignore:
Timestamp:
2013-08-20T04:55:04+02:00 (13 months ago)
Author:
moo
Message:

decompiler: more sample templating trick

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/devel/run

    r1337 r1344  
    245245        case "$1" in 
    246246        *.cpp.php) 
    247             cpp -C -P -traditional-cpp -DPHP_VERSION=$phpVersion $1 \ 
     247            < "$1" \ 
     248            sed -r -e 's#__#____#g' \ 
     249            | cpp -C -P -traditional-cpp -DPHP_VERSION=$phpVersion \ 
    248250            | sed -r -e 's#^ +##g' -e 's#\t +#\t#g' -e 's#____#__#g' > sample.php || exit $? 
    249251            shift 
Note: See TracChangeset for help on using the changeset viewer.