| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
This patch fixes corruption of data when hex-style string is
loaded.
I saw following phenomenon in an ubuntu/amd64 environment.
Test code:
str = "\x0\x1\x2\x03\x04\x05\x06\a\b\t\n\v\f\r\x0E\x0F\x10"
p str[-1] == "\0x10"
Output(binary program with mrbc -B):
false
Output(script with mruby):
true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
changed
|
|
|
|
|
|
mrb_run(): Fix not to use a magic number but sizeof.
|
|
(Forgot a couple files)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Replace Tab with spaces in src/parse.y
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
combines compilatoin and execution
|
|
|
|
|
|
|
|
|
|
monaka/pr-fix-parser-y-to-supress-warning-array-subscript
Supress "warning: array subscript has type ‘char’"
|
|
|
|
|
|
|