1987-09-24 13:01:27 +00:00
|
|
|
% character tables for mod2 compiler
|
|
|
|
% $Header$
|
|
|
|
%S129
|
|
|
|
%F %s,
|
|
|
|
%
|
|
|
|
% CHARACTER CLASSES
|
|
|
|
%
|
1989-04-11 11:40:49 +00:00
|
|
|
%iSTGARB
|
|
|
|
STSKIP: \t\013\014\015
|
|
|
|
STNL:\012
|
|
|
|
STSIMP:-#&()*+,/;=[]^{|}~
|
1987-09-24 13:01:27 +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};
|
|
|
|
%
|
|
|
|
% ISHEX
|
|
|
|
%
|
|
|
|
%C
|
1989-04-11 11:40:49 +00:00
|
|
|
1:A-F0-9
|
1987-09-24 13:01:27 +00:00
|
|
|
%Tchar ishex[] = {
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% ISOCT
|
|
|
|
%
|
|
|
|
%C
|
|
|
|
1:0-7
|
|
|
|
%Tchar isoct[] = {
|
|
|
|
%p
|
|
|
|
%T};
|