Début du tri du groupe 11 (voir README pour plus de détails)
[geshi.git] / metapost.php
index 51a9b41..1cec616 100644 (file)
@@ -49,7 +49,7 @@ $language_data = array (
         2 => array( # file construction
             'beginfig','begingroup','def','end','enddef','endfig','endgroup','hide','image','input','let','makepen','makepath','primary','primarydef','save','secondarydef','tertiarydef','vardef'
             ),
-        3 => array( # prgrammation structure
+        3 => array( # programmation structure
             'else','elseif','endfor','exitif','exitunless','fi','for','forever','forsuffix','if','step','until','upto'
         ),
         4 => array( # operations
@@ -74,7 +74,16 @@ $language_data = array (
             'dashed','withcolor','withpen','pickup','drawoptions','str','cutafter','cutbefore','direction','directiontime','intersectionpoint','intersectiontimes','arctime','dir','curl','tension','point','precontrol','postcontrol'
         ),
         11 => array(# div
-            'nullpicture','currentpicture','pencircle','pensquare','evenly','withdots','labeloffset','fullcircle','halfcircle','unitsquare','ahlength','black','white','red','green','blue','identity','up','down','right','origin','infont','defaultfont','extra_endfig','extra_beginfig','jobname','charcode','prologues'
+            'nullpicture','pencircle','pensquare','evenly','withdots','labeloffset','fullcircle','halfcircle','unitsquare','ahlength','black','white','red','green','blue','identity','up','down','right','origin','infont'
+        ),
+        12 => array(# Internal variables with numeric values
+            'ahangle','ahlength','bboxmargin','charcode','day','defaultcolormodel','defaultpen','defaultscale','dotlabeldiam','hour','labeloffset','linecap','linejoin','minute','miterlimit','month','mpprocset','pausing','prologues','restoreclipcolor','showstopping','time','tracingcapsules','tracingchoices','tracingcommands','tracingequations','tracinglostchars','tracingmacros','tracingonline','tracingoutput','tracingrestores','tracingspecs','tracingstats','tracingtitles','troffmode','truecorners','warningcheck','year'
+        ),
+        13 => array(# Internal string variables
+            'jobname','outputformat','outputtemplate'
+        ),
+        14 => array(# other predefined variables
+            'background','currentpen','currentpicture','cuttings','defaultfont','extra_beginfig','extra_endfig'
         )
         ),
     'SYMBOLS' => array(
@@ -92,21 +101,27 @@ $language_data = array (
         8 => true,
         9 => true,
         10 => true,
-        11 => true
+        11 => true,
+        12 => true,
+        13 => true,
+        14 => true
         ),
     'STYLES' => array(
         'KEYWORDS' => array(
-            1 => 'color: #472;', # type
-            2 => 'color: #35A;font-weight: bold;', # file construction
-            3 => 'color: #A53;', # structure
-            4 => 'color: #35A;', # operation
-            5 => 'color: #35A;', # numeric operation
-            6 => 'color: #35A;', # constructors
-            7 => 'color: #35A;', # labels
-            8 => 'color: #3B5;', # transformations
-            9 => 'color: #35A;', # draw instructions
+            1  => 'color: #472;', # type
+            2  => 'color: #35A;font-weight: bold;', # file construction
+            3  => 'color: #A53;', # structure
+            4  => 'color: #35A;', # operation
+            5  => 'color: #35A;', # numeric operation
+            6  => 'color: #35A;', # constructors
+            7  => 'color: #35A;', # labels
+            8  => 'color: #3B5;', # transformations
+            9  => 'color: #35A;', # draw instructions
             10 => 'color: #472;', # style
-            11 => 'color: #000;' # div
+            11 => 'color: #000;', # div
+            12 => 'color: #000;', # Internal variables with numeric values
+            13 => 'color: #000;', # Internal string variables
+            14 => 'color: #000;', # other predefined variables
             ),
         'COMMENTS' => array(
             1 => 'color: #777;',
@@ -138,17 +153,20 @@ $language_data = array (
             )
         ),
     'URLS' => array(
-        1 => '',
-        2 => '',
-        3 => '',
-        4 => '',
-        5 => '',
-        6 => '',
-        7 => '',
-        8 => '',
-        9 => '',
-        10 => '',
-        11 => ''
+         1 => '',
+         2 => '',
+         3 => '',
+         4 => '',
+         5 => '',
+         6 => '',
+         7 => '',
+         8 => '',
+         9 => '',
+         10 => '',
+         11 => '',
+         12 => '',
+         13 => '',
+         14 => ''
         ),
     'OOLANG' => false,
     'OBJECT_SPLITTERS' => array(

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.