didou Tue Sep 30 04:40:06 2003 EDT
Modified files:
/phpdoc/en/language control-structures.xml expressions.xml oop.xml
types.xml
Log:
adding role when needed
removing PHP tags for non-php example
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.80
phpdoc/en/language/control-structures.xml:1.81
--- phpdoc/en/language/control-structures.xml:1.80 Fri Aug 29 08:03:13 2003
+++ phpdoc/en/language/control-structures.xml Tue Sep 30 04:40:06 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.80 $ -->
+<!-- $Revision: 1.81 $ -->
<chapter id="control-structures">
<title>Control Structures</title>
@@ -970,7 +970,7 @@
The <literal>declare</literal> construct can also be used in the global
scope, affecting all code following it.
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
// these are the same:
Index: phpdoc/en/language/expressions.xml
diff -u phpdoc/en/language/expressions.xml:1.21 phpdoc/en/language/expressions.xml:1.22
--- phpdoc/en/language/expressions.xml:1.21 Tue Jun 17 23:11:25 2003
+++ phpdoc/en/language/expressions.xml Tue Sep 30 04:40:06 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.21 $ -->
+<!-- $Revision: 1.22 $ -->
<chapter id="language.expressions">
<title>Expressions</title>
<simpara>
@@ -129,7 +129,7 @@
</para>
<para>
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
$first ? $second : $third
Index: phpdoc/en/language/oop.xml
diff -u phpdoc/en/language/oop.xml:1.44 phpdoc/en/language/oop.xml:1.45
--- phpdoc/en/language/oop.xml:1.44 Tue Sep 30 04:33:26 2003
+++ phpdoc/en/language/oop.xml Tue Sep 30 04:40:06 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.44 $ -->
+<!-- $Revision: 1.45 $ -->
<chapter id="language.oop">
<title>Classes and Objects</title>
@@ -56,7 +56,7 @@
</simpara>
<para>
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
class test {
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.126 phpdoc/en/language/types.xml:1.127
--- phpdoc/en/language/types.xml:1.126 Tue Sep 30 04:33:26 2003
+++ phpdoc/en/language/types.xml Tue Sep 30 04:40:06 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.126 $ -->
+<!-- $Revision: 1.127 $ -->
<chapter id="language.types">
<title>Types</title>
@@ -350,7 +350,6 @@
<informalexample>
<programlisting>
<![CDATA[
-<?php
decimal : [1-9][0-9]*
| 0
@@ -361,7 +360,6 @@
integer : [+-]?decimal
| [+-]?hexadecimal
| [+-]?octal
-?>
]]>
</programlisting>
</informalexample>