[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

<?= handling in php grammar



Hi Indrek

I was using the php4 grammar i found at http://www.mare.ee/indrek/sablecc/. All seems good except for few cases with PHP embedded with HTML.

Case 1:
<html>
  <body>
    <?php $i =5;?>
    <?=$counter;?>
  </body>
</html>

The grammar cannot 'digest' <?=$counter;?>. How can I fix this in the grammar ?

Thanks in advance,
Anthos