summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-30 09:17:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-30 09:17:47 +0000
commitc3a6eb3196a9e288c9762445ffd916c37ca88035 (patch)
tree4a6994836425ce6b597f415311dded8a2202cf44
parent55aeddf753fe3aab433a6a945d60a0ceeae446d3 (diff)
downloadruby-c3a6eb3196a9e288c9762445ffd916c37ca88035.tar.gz
ruby-c3a6eb3196a9e288c9762445ffd916c37ca88035.tar.xz
ruby-c3a6eb3196a9e288c9762445ffd916c37ca88035.zip
* parse.y (struct token_info): constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--parse.y2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a7a9cfd02..7b3857cf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,6 @@
-Sat Aug 30 18:16:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Sat Aug 30 18:17:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (struct token_info): constified.
* parse.y (token_info_get_column, token_info_has_nonspaces),
(token_info_push, token_info_pop): constified.
diff --git a/parse.y b/parse.y
index 187314d5f..48721dde2 100644
--- a/parse.y
+++ b/parse.y
@@ -176,7 +176,7 @@ vtable_included(const struct vtable * tbl, ID id)
typedef struct token_info {
- char *token;
+ const char *token;
int linenum;
int column;
int nonspc;