1989-02-07 11:04:05 +00:00
|
|
|
%
|
2016-07-14 21:54:13 +00:00
|
|
|
hdrs = { "./src/system/system.h" },
|
|
|
|
hdrs = { "./src/system/system.h" },
|
1989-02-07 11:04:05 +00:00
|
|
|
% CHARACTER CLASSES
|
|
|
|
%
|
|
|
|
% some general settings:
|
|
|
|
%S129
|
|
|
|
%F %s,
|
|
|
|
%
|
|
|
|
% START OF TOKEN
|
|
|
|
%
|
|
|
|
%iSTGARB
|
|
|
|
STSKIP:\r \t\013\f
|
|
|
|
STNL:\n
|
1989-09-19 16:13:23 +00:00
|
|
|
STCOMP:-!&+<=>|*%/^
|
|
|
|
STSIMP:(),:;?[]{}~
|
1989-02-07 11:04:05 +00:00
|
|
|
STCHAR:'
|
1989-09-19 16:13:23 +00:00
|
|
|
STIDF:a-zA-KM-Z_\003
|
1989-02-07 11:04:05 +00:00
|
|
|
STELL:L
|
|
|
|
STNUM:.0-9
|
|
|
|
STSTR:"
|
|
|
|
STEOI:\200
|
1989-09-19 16:13:23 +00:00
|
|
|
STMSPEC:\004
|
1989-02-07 11:04:05 +00:00
|
|
|
%T/* character classes */
|
|
|
|
%T#include "class.h"
|
|
|
|
%Tchar tkclass[] = {
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% INIDF
|
|
|
|
%
|
|
|
|
%C
|
|
|
|
1:a-zA-Z_0-9
|
|
|
|
%Tchar inidf[] = {
|
|
|
|
%F %s,
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% ISDIG
|
|
|
|
%
|
|
|
|
%C
|
|
|
|
1:0-9
|
|
|
|
%Tchar isdig[] = {
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% ISHEX
|
|
|
|
%
|
|
|
|
%C
|
1989-09-19 16:13:23 +00:00
|
|
|
1:0-9a-fA-F
|
1989-02-07 11:04:05 +00:00
|
|
|
%Tchar ishex[] = {
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% ISOCT
|
|
|
|
%
|
|
|
|
%C
|
|
|
|
1:0-7
|
|
|
|
%Tchar isoct[] = {
|
|
|
|
%p
|
|
|
|
%T};
|
|
|
|
%
|
|
|
|
% ISWSP
|
|
|
|
%
|
|
|
|
%C
|
|
|
|
1: \t\n
|
|
|
|
%Tchar iswsp[] = {
|
|
|
|
%p
|
|
|
|
%T};
|