From c3a6eb3196a9e288c9762445ffd916c37ca88035 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 30 Aug 2008 09:17:47 +0000 Subject: * parse.y (struct token_info): constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 +++- parse.y | 2 +- 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 +Sat Aug 30 18:17:40 2008 Nobuyoshi Nakada + + * 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; -- cgit