]> git.saurik.com Git - bison.git/commitdiff
* src/lex.h: Echo modifications.
authorMarc Autret <autret_m@epita.fr>
Mon, 1 Oct 2001 19:47:09 +0000 (19:47 +0000)
committerMarc Autret <autret_m@epita.fr>
Mon, 1 Oct 2001 19:47:09 +0000 (19:47 +0000)
* src/lex.c (unlex): Parameter is now token_t.

ChangeLog
src/lex.c
src/lex.h

index 0b5674beae0c8e3523c28fde504890b996179e14..8267bcba8523e5ee782f79ef480b84492cd6c5f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-01  Marc Autret  <autret_m@epita.fr>
+
+       * src/lex.h: Echo modifications.
+       * src/lex.c (unlex): Parameter is now token_t.
+
 2001-10-01  Marc Autret  <autret_m@epita.fr>
 
        * src/main.c: Include lex.h.
index 6c66caac7cc309ecd409691623f0c71894c95a7a..dc1e6be04a2474c65947c2a210196e71bf0a8099 100644 (file)
--- a/src/lex.c
+++ b/src/lex.c
@@ -321,7 +321,7 @@ literalchar (struct obstack *out, int *pcode, char term)
 
 
 void
-unlex (int token)
+unlex (token_t token)
 {
   unlexed = token;
   unlexed_symval = symval;
index 6a9b2f5add3c90bef949a651ba557db7d1c8fa20..2f67839d8c3ca1ee48426e8d9bcc3d195a6f6554 100644 (file)
--- a/src/lex.h
+++ b/src/lex.h
@@ -61,7 +61,7 @@ extern int numval;
 void lex_init PARAMS ((void));
 void lex_free PARAMS ((void));
 int skip_white_space PARAMS ((void));
-void unlex PARAMS ((int));
+void unlex PARAMS ((token_t));
 void read_type_name PARAMS ((FILE *fin));
 
 /* Return one of the token-type codes.  When an identifier is seen,