Daehyub Kim
c5712bcb3f
use ISXDIGIT instead isxdigit on parser.y:3485
2013-04-20 00:07:37 +09:00
kano4
04fb7a0a3f
Define isascii for C99
2013-04-06 21:47:38 +09:00
h2so5
51ef69dee6
Add syntax error for incomplete global variables
2013-04-05 14:59:11 +09:00
h2so5
7331119265
Add syntax error for incomplete instance/class variables
2013-04-05 11:30:13 +09:00
Yukihiro "Matz" Matsumoto
cb946da787
Merge pull request #1102 from carsonmcdonald/gvarunderscorefix
...
Allow globals that start with $_
2013-03-28 19:35:52 -07:00
Carson McDonald
06d7bd69a3
Allow globals that start with $_
2013-03-28 22:21:37 -04:00
Masaki Muranaka
2b5b161f8b
Sort include files. Some redundant includes are removed.
2013-03-29 10:22:31 +09:00
Masaki Muranaka
6848ad6f30
Remove #if 0 ... #endif code.
2013-03-26 15:12:50 +09:00
Masaki Muranaka
29d84a1635
Separate FILE dependencies with ENABLE_STDIO.
2013-03-24 13:47:54 +09:00
Yukihiro Matz Matsumoto
04d9c5ea6b
resolve conflict regarding backtick
2013-03-23 11:08:18 +09:00
Masaki Muranaka
4656073b60
Add configuration macro MRB_PARSER_BUF_SIZE.
2013-03-22 16:46:56 +09:00
Yukihiro Matz Matsumoto
b547a7ed2c
allow backtick as a symbol
2013-03-22 15:53:08 +09:00
Yukihiro "Matz" Matsumoto
ab7bd61596
Merge pull request #1040 from mattn/backtick
...
xquote operator
2013-03-21 23:25:03 -07:00
Masaki Muranaka
0f16b242fc
Add an internal function intern_c(). It reduces function call parameter. For maintainability and performance.
2013-03-22 14:25:51 +09:00
Masaki Muranaka
75d5654de8
Make intern_gen() inline. This is enough tiny to be inlined.
2013-03-22 14:23:41 +09:00
Masaki Muranaka
f8fa56d8c3
Use mrb_intern2() instead of mrb_intern(). This is for avoiding overhead by strlen().
2013-03-22 14:22:45 +09:00
mattn
1ab4dbcbf3
Backtick operation
2013-03-21 19:45:47 +09:00
Kouki Ooyatsu
f00e9b2410
bugfix escape charactor for Regexp class
2013-03-21 17:12:09 +09:00
FUKUZAWA-Tadashi
cdf8114e27
%I %i literal
2013-03-19 00:41:15 +09:00
Yukihiro Matz Matsumoto
5217d88963
remove unused local variable beg in parser_yylex
2013-03-18 22:59:13 +09:00
FUKUZAWA-Tadashi
76c24894a7
bugfix about escaping '\n'
2013-03-17 21:27:38 +09:00
FUKUZAWA-Tadashi
aec3e1c4ff
refactor heredoc identifier
2013-03-17 21:27:38 +09:00
FUKUZAWA-Tadashi
44fbfc5184
implement literal %W %w %s
...
refactor string parsing
2013-03-17 21:27:37 +09:00
Masaki Muranaka
3aa3b4af90
Remove stdlib.h from mruby.h. It is for portability (care for freestanding environments).
...
This is a first step. It will be reduced stdlib.h in each files later.
2013-03-16 21:29:39 +09:00
Yukihiro Matz Matsumoto
243669308d
obsolete mrb_object; opposite of bc870ce
2013-03-15 23:16:20 +09:00
Yukihiro Matz Matsumoto
9d0bbdb7f8
use size_t for string length C API
2013-03-14 19:33:38 +09:00
Yukihiro Matz Matsumoto
535a5489c7
remove PARANOID from comments
2013-03-14 18:47:59 +09:00
Yukihiro "Matz" Matsumoto
1ebebd304a
Merge pull request #987 from monaka/pr-clean-up-parse.y-20130312
...
Clean up parse.y.
2013-03-14 02:46:48 -07:00
Masaki Muranaka
dd29e05f8e
Use int. They are no need to use unsigned/signed long. Think about 16bit architectures.
2013-03-12 20:00:48 +09:00
Masaki Muranaka
2c54cf2e59
Add comments for paradnoid (a.k.a. mission critical) engineers.
2013-03-12 19:59:12 +09:00
Masaki Muranaka
e1d2f50e47
Remove a meaningless type cast.
2013-03-12 19:55:18 +09:00
Masaki Muranaka
d62f497bdd
Fix indents.
2013-03-12 17:23:41 +09:00
mattn
1d42e8caa8
Remove warning for regexp
2013-03-06 14:40:39 +09:00
Masaki Muranaka
5a025813b5
Include stdio.h in mrbconf.h instead of C extension sources.
2013-03-05 01:38:51 +09:00
kano4
d4c279aa8d
Replace tabs with spaces
2013-03-04 21:45:47 +09:00
Yukihiro Matz Matsumoto
abecb78144
allow reserved word for heredoc terminator
2013-03-04 10:07:42 +09:00
Yukihiro Matz Matsumoto
20a5d57d16
applied a patch from @cremo to support MSVC
2013-03-04 09:55:45 +09:00
Yukihiro Matz Matsumoto
02dba48367
Merge branch 'heredoc' of https://github.com/FUKUZAWA-Tadashi/mruby into FUKUZAWA-Tadashi-heredoc
2013-03-04 09:49:16 +09:00
FUKUZAWA-Tadashi
73309aefa5
delete trailing space
2013-03-03 21:08:59 +09:00
FUKUZAWA-Tadashi
1af4110f7d
implement heredoc
2013-03-03 20:08:13 +09:00
Kouki Ooyatsu
1a7bb9dfa6
cleanup: delete commented out match_op() from parse.y
2013-03-03 03:22:59 +09:00
Yukihiro Matz Matsumoto
0c9d42e080
string interpolation in regex
2013-03-02 15:13:52 +09:00
Kouki Ooyatsu
1ea13483cb
Regexp: %r notation bug fix. close #85 .
...
be able to parse any delimiters.
variable expansion isn't supported yet.
* sample code
```
def matchpath(str)
puts "#{str} is ..."
if %r!img/! =~ str then
puts "match"
else
puts "not match"
end
end
matchpath("img/a.png") # => match
matchpath("/usr/local/bin") # => not match
matchpath("book/img/local") # => match
```
2013-02-28 11:16:15 +09:00
Yukihiro "Matz" Matsumoto
0852333900
Merge pull request #861 from cremno/regexp-parser-bugfix
...
regexp parsing bug if unknown option is used
2013-02-19 09:32:45 -08:00
Yukihiro "Matz" Matsumoto
85c10845e6
Merge pull request #855 from masamitsu-murase/support_parser_dump_for_regexp_literal
...
parser_dump supports NODE_REGEX.
2013-02-19 09:15:37 -08:00
Cremno
e8de677338
s must not be freed, removed space in exc msg
2013-02-19 17:58:36 +01:00
Masamitsu MURASE
4abdb87b90
parser_dump supports NODE_REGEX.
2013-02-18 21:55:03 +09:00
Cremno
2942ad8eeb
vars must be declared at the start of a block
2013-02-18 11:40:53 +01:00
mattn
e0f25b1fda
ready to pass second argument of Regexp.new
2013-02-15 13:55:41 +09:00
mattn
b1a5146ea8
Pluggable Regexp
2013-02-15 04:38:27 +09:00