1986-03-20 14:52:03 +00:00
|
|
|
% character tables for mod2 compiler
|
1994-06-24 14:02:31 +00:00
|
|
|
% $Id$
|
1986-03-20 14:52:03 +00:00
|
|
|
%S129
|
|
|
|
%F %s,
|
|
|
|
%
|
|
|
|
% CHARACTER CLASSES
|
|
|
|
%
|
1988-11-16 11:04:17 +00:00
|
|
|
%iSTGARB
|
|
|
|
STSKIP: \t\013\014\015
|
1988-05-03 11:30:25 +00:00
|
|
|
STNL:\012
|
1988-07-08 10:29:48 +00:00
|
|
|
STSIMP:-#&()*+,/;=[]^{|}~
|
1986-03-20 14:52:03 +00:00
|
|
|
STCOMP:.:<>
|
|
|
|
STIDF:a-zA-Z
|
|
|
|
STSTR:"'
|
|
|
|
STNUM:0-9
|
|
|
|
STEOI:\200
|
|
|
|
%T#include "class.h"
|
|
|
|
%Tchar tkclass[] = {
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% INIDF
|
|
|
|
%
|
|
|
|
%C
|
1986-04-18 17:53:47 +00:00
|
|
|
1:a-zA-Z0-9
|
1986-03-20 14:52:03 +00:00
|
|
|
%Tchar inidf[] = {
|
|
|
|
%F %s,
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% ISDIG
|
|
|
|
%
|
|
|
|
%C
|
|
|
|
1:0-9
|
|
|
|
%Tchar isdig[] = {
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% ISHEX
|
|
|
|
%
|
|
|
|
%C
|
1988-04-26 10:51:50 +00:00
|
|
|
1:A-F0-9
|
1986-03-20 14:52:03 +00:00
|
|
|
%Tchar ishex[] = {
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% ISOCT
|
|
|
|
%
|
|
|
|
%C
|
|
|
|
1:0-7
|
|
|
|
%Tchar isoct[] = {
|
|
|
|
%p
|
|
|
|
%T};
|