summaryrefslogtreecommitdiff
path: root/lex.c.blt
Commit message (Collapse)AuthorAgeFilesLines
* keywords: shrink struct kwtablenobu2018-01-211-1/+1
| | | | | | | | * defs/keywords (struct kwtable): shrink since members do not exceed 16bit. lex_state needs to be int (or enum lex_state_e) when EXPR_MAX_STATE reaches it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gperf.sed: static declarationsnobu2017-12-151-1/+1
| | | | | | | * tool/gperf.sed: comment out arguments part only, to keep the following declarations static. [Feature #13883] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support gperf 3.1nobu2017-12-081-63/+56
| | | | | | | | | | * tool/gperf.sed: extracted sed commands to a script. ANSI-C code produced by gperf 3.1 declares length arguments as `size_t`. it causes conflict with existing declarations, and needs casts for a local variable and return statements. [Feature #13883] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: symbol literals for alias/undefnobu2016-03-161-2/+2
| | | | | | | | * defs/keywords (alias, undef): symbol literals are allowed. * parse.y (parse_percent): should parse symbol literals for alias and undef. [ruby-dev:47681] [Bug #8851] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lex.c.blt: updatenobu2016-02-061-41/+41
| | | | | | * lex.c.blt: follows r52429, not removing casts to int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* keywords: make name singednobu2015-11-021-1/+1
| | | | | | | * defs/keywords (kwtable::name): turn into singed int, as gperf fills invalid slots with -1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: PIC lex.cnobu2015-07-221-53/+144
| | | | | | * Makefile.in (lex.c): make position independent table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/keywords (reserved_word): made inline function static.nobu2009-05-161-47/+49
| | | | | | | | | [ruby-core:23210] * parse.y (rb_reserved_word): ordinary function for ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): make functional-style not operator to actmatz2008-06-251-3/+6
| | | | | | like function. see <http://d.hatena.ne.jp/ku-ma-me/20080624/p1>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * suppress warnings with -Wwrite-string.nobu2008-05-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT.ja, dir.c, eval.c, eval_intern.h, lex.c.src,matz2007-12-251-1/+1
| | | | | | | | lex.c.blt, keywords, load.c, thread.c: more ANSI'ize. a patch from Tadashi Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-dev:32725] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * keywords, parse.y (__ENCODING__): represent script encoding.nobu2007-12-211-52/+52
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lex.c.blt: moved from lex.c.akr2007-11-131-0/+214
| | | | | | | | | | | | | | | | * lex.c.src: copied from keywords. This is the source of lex.c.blt. * Makefile.in (lex.c): use lex.c.blt if keywords is same as lex.c.src. * win32/Makefile.sub (lex.c): re-introduce copy rule. * bcc32/Makefile.sub (lex.c): ditto. * wince/Makefile.sub (lex.c): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lex.c: renamed from lex.c.blt.akr2007-11-111-214/+0
| | | | | | | | * Makefile.in (lex.c): use find command to check mtime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * keywords: enclose C code in declaration section by %{ and %}.akr2007-06-151-42/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lex.c.blt: moved from lex.c.akr2007-06-081-0/+211
* Makefile.in: use lex.c.blt if gperf is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e