1988-10-26 15:21:11 +00:00
|
|
|
% character tables for ISO-PASCAL compiler
|
|
|
|
%S129
|
|
|
|
%F %s,
|
|
|
|
%
|
|
|
|
% CHARACTER CLASSES
|
|
|
|
%
|
1988-11-16 15:18:21 +00:00
|
|
|
%iSTGARB
|
1988-10-26 15:21:11 +00:00
|
|
|
STSKIP: \r\t
|
|
|
|
STNL:\012\013\014
|
1988-11-16 15:18:21 +00:00
|
|
|
STSIMP:-()*+,/;=@[]^{}
|
1988-10-26 15:21:11 +00:00
|
|
|
STCOMP:.:<>
|
|
|
|
STIDF:a-zA-Z
|
|
|
|
STSTR:'
|
|
|
|
STNUM:0-9
|
|
|
|
STEOI:\200
|
|
|
|
%T#include "class.h"
|
|
|
|
%Tchar tkclass[] = {
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% INIDF
|
|
|
|
%
|
|
|
|
%C
|
|
|
|
1:a-zA-Z0-9
|
|
|
|
%Tchar inidf[] = {
|
|
|
|
%F %s,
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% ISDIG
|
|
|
|
%
|
|
|
|
%C
|
|
|
|
1:0-9
|
|
|
|
%Tchar isdig[] = {
|
|
|
|
%p
|
|
|
|
%T};
|