Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gcc-cobol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COBOLworx
gcc-cobol
Commits
5a6943c7
Commit
5a6943c7
authored
23 years ago
by
Neil Booth
Committed by
Neil Booth
23 years ago
Browse files
Options
Downloads
Patches
Plain Diff
* include/safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New.
From-SVN: r46470
parent
173a000e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/ChangeLog
+4
-0
4 additions, 0 deletions
include/ChangeLog
include/safe-ctype.h
+4
-1
4 additions, 1 deletion
include/safe-ctype.h
with
8 additions
and
1 deletion
include/ChangeLog
+
4
−
0
View file @
5a6943c7
2001-10-24 Neil Booth <neil@daikokuya.demon.co.uk>
* include/safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New.
2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libiberty.h (hex_init): Revert delete.
* libiberty.h (hex_init): Revert delete.
...
...
This diff is collapsed.
Click to expand it.
include/safe-ctype.h
+
4
−
1
View file @
5a6943c7
...
@@ -63,7 +63,9 @@ enum {
...
@@ -63,7 +63,9 @@ enum {
_sch_isalnum
=
_sch_isalpha
|
_sch_isdigit
,
/* A-Za-z0-9 */
_sch_isalnum
=
_sch_isalpha
|
_sch_isdigit
,
/* A-Za-z0-9 */
_sch_isidnum
=
_sch_isidst
|
_sch_isdigit
,
/* A-Za-z0-9_ */
_sch_isidnum
=
_sch_isidst
|
_sch_isdigit
,
/* A-Za-z0-9_ */
_sch_isgraph
=
_sch_isalnum
|
_sch_ispunct
,
/* isprint and not space */
_sch_isgraph
=
_sch_isalnum
|
_sch_ispunct
,
/* isprint and not space */
_sch_iscppsp
=
_sch_isvsp
|
_sch_isnvsp
/* isspace + \0 */
_sch_iscppsp
=
_sch_isvsp
|
_sch_isnvsp
,
/* isspace + \0 */
_sch_isbasic
=
_sch_isprint
|
_sch_iscppsp
/* basic charset of ISO C
(plus ` and @) */
};
};
/* Character classification. */
/* Character classification. */
...
@@ -86,6 +88,7 @@ extern const unsigned short _sch_istable[256];
...
@@ -86,6 +88,7 @@ extern const unsigned short _sch_istable[256];
#define ISIDNUM(c) _sch_test(c, _sch_isidnum)
#define ISIDNUM(c) _sch_test(c, _sch_isidnum)
#define ISIDST(c) _sch_test(c, _sch_isidst)
#define ISIDST(c) _sch_test(c, _sch_isidst)
#define IS_ISOBASIC(c) _sch_test(c, _sch_isbasic)
#define IS_VSPACE(c) _sch_test(c, _sch_isvsp)
#define IS_VSPACE(c) _sch_test(c, _sch_isvsp)
#define IS_NVSPACE(c) _sch_test(c, _sch_isnvsp)
#define IS_NVSPACE(c) _sch_test(c, _sch_isnvsp)
#define IS_SPACE_OR_NUL(c) _sch_test(c, _sch_iscppsp)
#define IS_SPACE_OR_NUL(c) _sch_test(c, _sch_iscppsp)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment