Yukihiro Matsumoto
|
7171e5aa18
|
load_exec should return undef on syntax errors
|
2012-09-27 11:28:15 +09:00 |
|
Yukihiro Matsumoto
|
190fc76091
|
should not call mrb_parser_free() on NULL pointer
|
2012-09-26 08:15:09 +09:00 |
|
Yukihiro Matsumoto
|
540066c9e2
|
mrb_sym can be short integer; reduced 10KB
|
2012-09-12 16:20:32 +09:00 |
|
Yukihiro Matsumoto
|
4f7a1a167d
|
remove memleaks using linked allocator
|
2012-09-03 08:34:31 +09:00 |
|
Yukihiro Matsumoto
|
8fb23fe67d
|
improve local variable dump in parser_dump
|
2012-09-03 02:47:12 +09:00 |
|
Yukihiro Matsumoto
|
e7661b978d
|
manage line number in yacc rules, not in lexer
|
2012-09-01 23:52:16 +09:00 |
|
Yukihiro Matsumoto
|
15725eb4f6
|
file/line info passed to codegen; argument type of mrb_generate_code() has changed
|
2012-08-22 22:36:44 +09:00 |
|
Yukihiro Matsumoto
|
dec6751d7a
|
remove BEGIN/END from syntax
|
2012-08-18 20:51:58 +09:00 |
|
Masamitsu MURASE
|
26e0319e66
|
Modify buffer size for filename.
|
2012-08-17 02:34:27 +09:00 |
|
Masaki Muranaka
|
b231bcb812
|
load_exec(): Fix message lenghtes in mrb_exc_new().
mrb_run(): Fix not to use a magic number but sizeof.
|
2012-08-04 19:54:21 +09:00 |
|
Max Anselm
|
50b9f54a65
|
Make void casts explicit.
(Forgot a couple files)
|
2012-07-29 20:11:08 -04:00 |
|
Yukihiro Matsumoto
|
6ada0df27e
|
mruby should print exception
|
2012-07-22 23:07:21 +09:00 |
|
Jiro Nishiguchi
|
4bc416cae9
|
mrb_load_* should return value
|
2012-07-19 23:13:29 +09:00 |
|
Masaki Muranaka
|
0339317bd6
|
Supress using switches with fallthru or a empty default label.
|
2012-07-16 13:36:36 +09:00 |
|
Masamitsu MURASE
|
15f0c161d1
|
Suppress some warnings about pointer casting.
|
2012-07-14 23:04:33 +09:00 |
|
Yukihiro Matsumoto
|
72f7c51bc0
|
mruby should print error properly
|
2012-07-14 15:39:53 +09:00 |
|
Yukihiro Matsumoto
|
08f7fab377
|
Merge branch 'master' of github.com:mruby/mruby
|
2012-07-14 07:49:02 +09:00 |
|
Yukihiro Matsumoto
|
bb20d3bc47
|
mrb_load to set mrb->exc on errors
|
2012-07-14 07:48:32 +09:00 |
|
Yukihiro Matsumoto
|
e380692224
|
mrb_load_xxx to return undef + mrb_undef_p
|
2012-07-14 07:38:43 +09:00 |
|
Selman ULUG
|
e2c4b35240
|
clean -Wunused-function when defined DISABLE_STDIO
|
2012-07-13 13:05:20 +03:00 |
|
Yukihiro Matsumoto
|
8e1c842b7e
|
simpify mruby/mrbc using context
|
2012-07-13 15:36:43 +09:00 |
|
Yukihiro Matsumoto
|
737eaea038
|
allow DISABLE/ENABLE_SATDIO
|
2012-07-13 15:00:45 +09:00 |
|
Yukihiro Matsumoto
|
bbec03bb7a
|
add missing (empty) default for swtch; close #364
|
2012-07-13 14:35:18 +09:00 |
|
Yukihiro Matsumoto
|
ae2cd24afb
|
remove st.h inclusion
|
2012-07-13 00:24:44 +09:00 |
|
Yukihiro Matsumoto
|
0ebf5c0a6f
|
local variable order was screwed up in parser_init_cxt(); close #360
|
2012-07-11 18:40:37 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
eddb273fa9
|
Merge pull request #357 from suzukaze/replace-tab-with-spaces
Replace Tab with spaces in src/parse.y
|
2012-07-09 16:59:54 -07:00 |
|
suzukaze
|
beda4d928a
|
replace Tab with spaces in src/parse.y
|
2012-07-10 00:31:45 +09:00 |
|
Masaki Muranaka
|
611cf71a10
|
Use mrb_calloc if you want zero cleard buffers.
|
2012-07-08 11:33:49 +09:00 |
|
Yukihiro Matsumoto
|
472847adc2
|
input cast to unsigned char for unqualified tolower(); close #342
|
2012-07-04 17:12:47 +09:00 |
|
Yukihiro Matsumoto
|
f141ae42c0
|
stop strtod() warning; add more checks; close #247
|
2012-07-04 10:19:10 +09:00 |
|
Yukihiro Matsumoto
|
85a0cad905
|
use new function mrb_parser_free()
|
2012-07-03 21:54:08 +09:00 |
|
Yukihiro Matsumoto
|
fc27f71289
|
add new function mrb_parser_free()
|
2012-07-03 21:52:11 +09:00 |
|
Yukihiro Matsumoto
|
be8181a99a
|
raise SyntaxError only when capture_errors is set
|
2012-07-03 21:39:21 +09:00 |
|
Yukihiro Matsumoto
|
137570acf0
|
capture_errors can be specified by mrbc_context
|
2012-07-03 21:32:37 +09:00 |
|
Yukihiro Matsumoto
|
daee2e5ad3
|
preserve toplevel local variable info in mrbc_context
|
2012-07-03 21:26:05 +09:00 |
|
Yukihiro Matsumoto
|
39689441e7
|
add context arg to mrb_parser_parse()
|
2012-07-03 21:13:10 +09:00 |
|
Yukihiro Matsumoto
|
65096c4c1b
|
add context to parser, that would hold local variable info, filename, and line number. mrbc_context argument has been added to mrb_parse_xxx() functions. Normally, you just to need to add NULL (or 0) to the last argument of the above functions.
|
2012-07-03 20:59:07 +09:00 |
|
Yukihiro Matsumoto
|
ce49d90dc8
|
modify compiler API; replace mrb_compie_xxx with mrb_load_xxx() that combines compilatoin and execution
|
2012-07-03 15:26:11 +09:00 |
|
Yukihiro Matsumoto
|
97b1c57600
|
constify parser input strings
|
2012-07-03 14:28:19 +09:00 |
|
Yukihiro Matsumoto
|
3be4e91376
|
remove size_t from parser
|
2012-07-03 14:27:34 +09:00 |
|
Yukihiro Matsumoto
|
4a98d5c8fd
|
allow string interpolation in symbols like :"a=#{15}"
|
2012-06-28 23:35:17 +09:00 |
|
Yukihiro Matsumoto
|
4fd932548e
|
allow :"text" form; close #321
|
2012-06-28 23:28:54 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
50f38a7df3
|
Merge pull request #330 from monaka/pr-fix-parser-y-to-supress-warning-array-subscript
Supress "warning: array subscript has type ‘char’"
|
2012-06-26 22:43:52 -07:00 |
|
Masaki Muranaka
|
cd5476c6ae
|
Supress "warning: array subscript has type ‘char’"
|
2012-06-27 13:19:32 +09:00 |
|
Masaki Muranaka
|
2042684b6e
|
Use sizeof to get char array sizes.
|
2012-06-27 13:01:22 +09:00 |
|
Yukihiro Matsumoto
|
f89215c7d2
|
parser_dump: local variable dump condition updated
|
2012-06-16 17:36:47 +09:00 |
|
Junji Sawada
|
2401a175a3
|
Fix to show ensure node
|
2012-06-16 01:30:59 +09:00 |
|
Yukihiro Matsumoto
|
76f7aecff3
|
use ENABLE/DISABLE instead of INCLUDE for configuration macro names
|
2012-06-15 15:34:49 +09:00 |
|
Masaki Muranaka
|
f564ec7e82
|
Remove some redundant code.
|
2012-06-15 00:56:00 +09:00 |
|
Masaki Muranaka
|
df55efd373
|
Fix typo in parser around tLEQ
|
2012-06-14 17:38:47 +09:00 |
|