diff options
Diffstat (limited to '')
-rw-r--r-- | module/c/cpp-types.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/module/c/cpp-types.scm b/module/c/cpp-types.scm index 1df70594..82ebb922 100644 --- a/module/c/cpp-types.scm +++ b/module/c/cpp-types.scm @@ -5,8 +5,9 @@ :export (whitespace-token? comment-token? preprocessing-token? - newline-token? + other-token? placemaker-token? + newline-token? identifier-token? punctuator-token? number-token? @@ -27,6 +28,10 @@ (and (lexeme? x) (eq? 'preprocessing-token (lexeme-type x)))) +(define (other-token? x) + (and (lexeme? x) + (eq? 'other (lexeme-type x)))) + (define (placemaker-token? x) (and (lexeme? x) (eq? 'placemaker (lexeme-type x)))) |