Changeset 68de62d in git


Ignore:
Timestamp:
2013-08-20T02:55:04Z (6 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.1, 3.2, master, trunk
Children:
ace3be1
Parents:
a0217c2
Message:

decompiler: more sample templating trick

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1344 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/run

    rf55cf8f r68de62d  
    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
  • mod_disassembler/sample.cpp.php

    ra0217c2 r68de62d  
    532532include 'include.php';
    533533include_once 'include_once.php';
    534 echo ____FILE____;
    535 echo ____LINE____;
     534echo __FILE__;
     535echo __LINE__;
    536536#if PHP_VERSION >= 530
    537537echo 'PHP 5.3+ code testing';
Note: See TracChangeset for help on using the changeset viewer.