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
'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(
8 => true,
9 => true,
10 => true,
- 11 => true
+ 11 => true,
+ 12 => true,
+ 13 => true,
+ 14 => true
),
'STYLES' => array(
'KEYWORDS' => array(
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;',
7 => '',
8 => '',
9 => '',
- 10 => '',
- 11 => ''
+ 10 => '',
+ 11 => '',
+ 12 => '',
+ 13 => '',
+ 14 => ''
),
'OOLANG' => false,
'OBJECT_SPLITTERS' => array(