Initial version
This commit is contained in:
71
util/grind/char.ct
Normal file
71
util/grind/char.ct
Normal file
@@ -0,0 +1,71 @@
|
||||
% character tables for debugger
|
||||
% $Header$
|
||||
%S257
|
||||
%F %s,
|
||||
%
|
||||
% CHARACTER CLASSES
|
||||
%
|
||||
%iSTGARB
|
||||
STSKIP: \t\013\014\015
|
||||
STNL:;\012
|
||||
STIDF:a-zA-Z_$
|
||||
STSTR:"'
|
||||
STDOT:.
|
||||
STNUM:0-9
|
||||
STSIMP:,<>{}:`
|
||||
%T#include "class.h"
|
||||
%Tchar tkclass[] = {
|
||||
%p
|
||||
%T};
|
||||
%
|
||||
% INIDF
|
||||
%
|
||||
%S129
|
||||
%C
|
||||
1:a-zA-Z0-9_$
|
||||
%Tchar inidf[] = {
|
||||
%F %s,
|
||||
%p
|
||||
%T};
|
||||
%
|
||||
% INEXT
|
||||
%
|
||||
%S129
|
||||
%C
|
||||
1:-#+{}~`@%^=|\\;:?/,a-zA-Z0-9_$.
|
||||
%Tchar inext[] = {
|
||||
%F %s,
|
||||
%p
|
||||
%T};
|
||||
%
|
||||
% ISDIG
|
||||
%
|
||||
%C
|
||||
1:0-9
|
||||
%Tchar isdig[] = {
|
||||
%p
|
||||
%T};
|
||||
%
|
||||
% ISHEX
|
||||
%
|
||||
%C
|
||||
1:A-F0-9
|
||||
%Tchar ishex[] = {
|
||||
%p
|
||||
%T};
|
||||
%
|
||||
% ISOCT
|
||||
%
|
||||
%C
|
||||
1:0-7
|
||||
%Tchar isoct[] = {
|
||||
%p
|
||||
%T};
|
||||
%
|
||||
% ISTOKEN
|
||||
%
|
||||
%C
|
||||
1:-abcefiprstuvxAEFGLMPQSTVX,;:+=()*
|
||||
%T char istoken[] = {
|
||||
%p
|
||||
%T};
|
||||
Reference in New Issue
Block a user