aboutsummaryrefslogtreecommitdiff
path: root/tool/lempar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tool/lempar.c')
-rw-r--r--tool/lempar.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/tool/lempar.c b/tool/lempar.c
index 6eb8387a8..97d146d4c 100644
--- a/tool/lempar.c
+++ b/tool/lempar.c
@@ -210,21 +210,6 @@ static const char *const yyRuleName[] = {
};
#endif /* NDEBUG */
-/*
-** This function returns the symbolic name associated with a token
-** value.
-*/
-const char *ParseTokenName(int tokenType){
-#ifndef NDEBUG
- if( tokenType>0 && tokenType<(sizeof(yyTokenName)/sizeof(yyTokenName[0])) ){
- return yyTokenName[tokenType];
- }else{
- return "Unknown";
- }
-#else
- return "";
-#endif
-}
#if YYSTACKDEPTH<=0
/*