diff options
Diffstat (limited to 'module/c/cpp-types.scm')
-rw-r--r-- | module/c/cpp-types.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/c/cpp-types.scm b/module/c/cpp-types.scm index e21a8f0c..1a7387f5 100644 --- a/module/c/cpp-types.scm +++ b/module/c/cpp-types.scm @@ -6,6 +6,7 @@ comment-token? preprocessing-token? newline-token? + placemaker-token? identifier-token? punctuator-token? number-token? @@ -21,6 +22,9 @@ (define (preprocessing-token? x) (eq? 'preprocessing-token (lexeme-type x))) +(define (placemaker-token? x) + (eq? 'placemaker (lexeme-type x))) + (define (newline-token? x) (and (whitespace-token? x) (string=? "\n" (lexeme-body x)))) |