<?php
/**
 * PL/I キーワード定義ファイル
 */

$switchHash['#'] = $this->cont['PLUGIN_CODE_SPECIAL_IDENTIFIRE'];  // # から始まる予約語あり

// コメント定義
$switchHash['/'] = $this->cont['PLUGIN_CODE_COMMENT'];        //  コメントは /* から */ まで
$code_comment = Array(
	'/' => Array(
				 Array('/^\/\*/', '*/', 2),
	)
);

// アウトライン用
if($mkoutline){
  $switchHash['{'] = $this->cont['PLUGIN_CODE_BLOCK_START'];
  $switchHash['}'] = $this->cont['PLUGIN_CODE_BLOCK_END'];
}
$outline_def = Array(
					 'do' => Array('end', 1),
					 );
			  
$code_css = Array(
  'operator',		// オペレータ関数
  'identifier',	// その他の識別子
  'pragma',		// module, import と pragma
  'system',		// 処理系組み込みの奴 __stdcall とか
  );

$code_keyword = Array(
	'A'=> 2,
	'ABS'=> 2,
	'ACOS'=> 2,
	'%ACTIVATE'=> 2,
	'ACTUALCOUNT'=> 2,
	'ADD'=> 2,
	'ADDR'=> 2,
	'ADDREL'=> 2,
	'ALIGNED'=> 2,
	'ALLOCATE'=> 2,
	'ALLOC'=> 2,
	'ALLOCATION'=> 2,
	'ALLOCN'=> 2,
	'ANY'=> 2,
	'ANYCONDITION'=> 2,
	'APPEND'=> 2,
	'AREA'=> 2,
	'ASIN'=> 2,
	'ATAN'=> 2,
	'ATAND'=> 2,
	'ATANH'=> 2,
	'AUTOMATIC'=> 2,
	'AUTO'=> 2,
	'B'=> 2,
	'B1'=> 2,
	'B2'=> 2,
	'B3'=> 2,
	'B4'=> 2,
	'BACKUP_DATE'=> 2,
	'BASED'=> 2,
	'BATCH'=> 2,
	'BEGIN'=> 2,
	'BINARY'=> 2,
	'BIN'=> 2,
	'BIT'=> 2,
	'BLOCK_BOUNDARY_FORMAT'=> 2,
	'BLOCK_IO'=> 2,
	'BLOCK_SIZE'=> 2,
	'BOOL'=> 2,
	'BUCKET_SIZE'=> 2,
	'BUILTIN'=> 2,
	'BY'=> 2,
	'BYTE'=> 2,
	'BYTESIZE'=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'=> 2,
	'%PROCEDURE'=> 2,
	'%PROC'=> 2,
	'PROCEDURE'=> 2,
	'PROC'=> 2,
	'PROD'=> 2,
	'PROMPT'=> 2,
	'PURGE_TYPE_AHEAD'=> 2,
	'PUT'=> 2,
	'R'=> 2,
	'RANK'=> 2,
	'READ'=> 2,
	'READONLY'=> 2,
	'READ_AHEAD'=> 2,
	'READ_CHECK'=> 2,
	'READ_REGARDLESS'=> 2,
	'RECORD'=> 2,
	'RECORD_ID'=> 2,
	'RECORD_ID_ACCESS'=> 2,
	'RECORD_ID_TO'=> 2,
	'RECURSIVE'=> 2,
	'REFER'=> 2,
	'REFERENCE'=> 2,
	'RELEASE'=> 2,
	'REPEAT'=> 2,
	'%REPLACE'=> 2,
	'RESCAN'=> 2,
	'RESIGNAL'=> 2,
	'RETRIEVAL_POINTERS'=> 2,
	'%RETURN'=> 2,
	'RETURN'=> 2,
	'RETURNS'=> 2,
	'REVERSE'=> 2,
	'REVERT'=> 2,
	'REVISION_DATE'=> 2,
	'REWIND'=> 2,
	'REWIND_ON_CLOSE'=> 2,
	'REWIND_ON_OPEN'=> 2,
	'REWRITE'=> 2,
	'ROUND'=> 2,
	'RTRIM'=> 2,
	'%SBTTL'=> 2,
	'SCALARVARYING'=> 2,
	'SEARCH'=> 2,
	'SELECT'=> 2,
	'SEQUENTIAL'=> 2,
	'SEQL'=> 2,
	'SET'=> 2,
	'SHARED_READ'=> 2,
	'SHARED_WRITE'=> 2,
	'SIGN'=> 2,
	'SIGNAL'=> 2,
	'SIN'=> 2,
	'SIND'=> 2,
	'SINH'=> 2,
	'SIZE'=> 2,
	'SKIP'=> 2,
	'SNAP'=> 2,
	'SOME'=> 2,
	'SPACEBLOCK'=> 2,
	'SPOOL'=> 2,
	'SQRT'=> 2,
	'STATEMENT'=> 2,
	'STATIC'=> 2,
	'STOP'=> 2,
	'STORAGE'=> 2,
	'STREAM'=> 2,
	'STRING'=> 2,
	'STRINGRANGE'=> 2,
	'STRG'=> 2,
	'STRU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