Commit Graph

439 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 7701795951 unterminated string detection made easy 2012-05-19 22:10:15 +09:00
Yukihiro Matsumoto 2ed31892a8 should initialize p->sterm every parse time 2012-05-19 17:52:41 +09:00
Yukihiro Matsumoto 59da9f6974 remove src/pool.h; close #163 2012-05-19 16:56:15 +09:00
Yukihiro Matsumoto 04cafb7fb3 even smarter expression termination detection 2012-05-19 16:44:36 +09:00
Yukihiro Matsumoto 6f6c270bb1 mirb should detect end of expression smarter 2012-05-19 16:15:11 +09:00
Yukihiro Matsumoto aeca23166b remove dependency to node.h and pool.h 2012-05-19 15:52:47 +09:00
Yukihiro Matsumoto cb8b4691f0 p->tree may be NULL; close #161 2012-05-19 15:37:41 +09:00
Yukihiro "Matz" Matsumoto 6421887917 Merge pull request #160 from bovi/master
Finish all Integer ISO Tests
2012-05-18 18:57:32 -07:00
Daniel Bovensiepen 8bf21cdeae Finish all Float ISO Tests 2012-05-19 02:21:26 +08:00
Daniel Bovensiepen 2331738c21 Complete Integer Tests for ISO 2012-05-19 00:44:43 +08:00
Yukihiro Matsumoto 00c419f066 remove obsolete minimain.c 2012-05-18 22:32:10 +09:00
Yukihiro Matsumoto 53f74d50ae update test/Makefile 2012-05-18 17:36:43 +09:00
Yukihiro "Matz" Matsumoto 9461da4a6c Merge pull request #157 from mattn/no_close_stdin
don't close stdin.
2012-05-18 00:34:57 -07:00
Yukihiro "Matz" Matsumoto 631ab3536d Merge pull request #158 from pbosetti/tests
Minor edits to test suite and Math module
2012-05-18 00:33:43 -07:00
Paolo Bosetti d1f6f504d5 Added some tests for Math module. Some refactoring in math.c; numeric tolerance exported as Math::TOLERANCE and also used for fuzzy tests in mrbtest suite 2012-05-17 23:50:56 -07:00
mattn 751d391aab don't close stdin. 2012-05-18 15:36:18 +09:00
Yukihiro Matsumoto 2728f30297 implement Kernel#p in Ruby 2012-05-18 15:01:45 +09:00
Paolo Bosetti 8027d5120d Merge branch 'tests' of github.com:pbosetti/mruby into tests 2012-05-17 22:55:35 -07:00
Yukihiro Matsumoto f7406435f3 mruby should read from stdin when no argument given 2012-05-18 14:51:27 +09:00
Yukihiro Matsumoto f81ddf9025 terminate programs after showing version/copyright 2012-05-18 14:49:09 +09:00
Yukihiro Matsumoto f4bacab18b rename ruby_show_version to mrb_show_version 2012-05-18 14:45:05 +09:00
Yukihiro Matsumoto 1ace96a943 remove unused prototype 2012-05-18 14:42:07 +09:00
Yukihiro Matsumoto fb60a2191a revise version description 2012-05-18 14:41:00 +09:00
Yukihiro Matsumoto 8846f75ecc refactor test driver 2012-05-18 14:29:36 +09:00
Yukihiro Matsumoto 332565e3ba remove confusing dependency; run "make" before "make test" 2012-05-18 14:29:14 +09:00
Yukihiro Matsumoto 7fdc42355a rename compiler.h to mruby/compiler.h 2012-05-18 14:28:33 +09:00
Yukihiro Matsumoto e306bfaf94 failed to initialize source string 2012-05-18 14:23:40 +09:00
Yukihiro Matsumoto 685b4d1c84 fixed a typo 2012-05-18 13:32:47 +09:00
Yukihiro Matsumoto 219162117a move compile.h to mruby/compile.h 2012-05-18 12:54:23 +09:00
Yukihiro Matsumoto bbf7b0ceba add extern "C" guards 2012-05-18 12:45:09 +09:00
Yukihiro Matsumoto ec6c6df995 yywarn should use warn_buffer not error_buffer 2012-05-18 11:17:07 +09:00
Yukihiro Matsumoto 5223c0a6ac remove mrb_parse_nstring_ext; use mrb_parser_new() then set p->capture_error = 1; then call mrb_parser_parse(); see tool/mirb/mirb.c 2012-05-18 11:07:11 +09:00
Yukihiro Matsumoto 61d8bb132e keep toplevel local variables; close #133 2012-05-18 11:04:36 +09:00
Yukihiro Matsumoto a18fb01b03 new API for parser 2012-05-18 11:03:43 +09:00
Paolo Bosetti 5760ad7d59 Minor edits in tests for Math module 2012-05-17 17:40:21 -07:00
Yukihiro Matsumoto 5d5d189dee remove src/method.h 2012-05-18 02:06:09 +09:00
Yukihiro Matsumoto 74d29edf5c remove unused method.h from kernel.c 2012-05-18 02:05:52 +09:00
Yukihiro Matsumoto 6c9ae9489f remove unused method.h from object.c 2012-05-18 02:04:29 +09:00
Yukihiro Matsumoto a4d3579e31 add extern "C" guards; close #126 2012-05-18 02:02:49 +09:00
Yukihiro Matsumoto e67c03529d Merge branch 'master' of github.com:mruby/mruby 2012-05-17 23:49:12 +09:00
Yukihiro Matsumoto 0a00c28ca1 libmruby.a should depend on libmruby_core.a 2012-05-17 23:48:02 +09:00
Yukihiro Matsumoto 434ed1ed7c compile error should contain line number 2012-05-17 23:46:55 +09:00
Yukihiro "Matz" Matsumoto 069768b77c Merge pull request #156 from iwadon/update-gitignore
Updated .gitignore for test/
2012-05-17 07:27:52 -07:00
Hiroyuki Iwatsuki b6935257a0 Updated .gitignore for test/ 2012-05-17 19:54:29 +09:00
Yukihiro Matsumoto 0bae9c505c print line number in compile error messages 2012-05-17 19:09:50 +09:00
Yukihiro Matsumoto 89e31b5838 too many line count in nextc() 2012-05-17 19:09:29 +09:00
Yukihiro "Matz" Matsumoto fd14730f95 Merge pull request #155 from nkshigeru/msvc
avoid passing NULL to fopen
2012-05-17 00:47:38 -07:00
Yukihiro Matsumoto 490fa45298 add cast to remove warning; close #154 2012-05-17 16:38:37 +09:00
nkshigeru bd485b5940 avoid passing NULL to fopen 2012-05-17 15:54:34 +09:00
Yukihiro "Matz" Matsumoto d65542cca8 Merge pull request #153 from carsonmcdonald/irepfix
idx should be less than the cap, if it is equal irep needs to grow.
2012-05-16 22:07:18 -07:00