ruby-ll 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/c/extconf.rb +3 -5
- data/lib/ll/lexer.rb +2 -3
- data/lib/ll/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a62ba595bf65ddec515dd3f1c905385e9b8bbbde
|
4
|
+
data.tar.gz: 08ec033a8c9ed472637b2e5a0ab2307d440dbdbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c17f041104af568bec2bceae1f4eda8d90519fcade58a3fa965b281538363e1954749ddf3fe086797432dac130f1284bda4fa51bf13623c0aa39d050860af4d
|
7
|
+
data.tar.gz: 6d4cb5330de7c551bba92e6de2f158b343168421388e8032718e006a8c7d20e3fe8121ecd7c9bfb11b96a0021c0aa24566985ccf67bacd2b0b31742bd807e14a
|
data/ext/c/extconf.rb
CHANGED
@@ -1,13 +1,11 @@
|
|
1
1
|
require 'mkmf'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
if RbConfig::CONFIG['cc'] =~ /clang|gcc/
|
4
|
+
$CFLAGS << ' -pedantic'
|
5
|
+
end
|
6
6
|
|
7
7
|
if ENV['DEBUG']
|
8
8
|
$CFLAGS << ' -O0 -g'
|
9
|
-
else
|
10
|
-
$CFLAGS << ' -O3'
|
11
9
|
end
|
12
10
|
|
13
11
|
create_makefile('libll')
|
data/lib/ll/lexer.rb
CHANGED
@@ -297,9 +297,8 @@ ts = p
|
|
297
297
|
_keys = cs << 1
|
298
298
|
_inds = _ll_lexer_index_offsets[cs]
|
299
299
|
_slen = _ll_lexer_key_spans[cs]
|
300
|
-
_wide = (
|
301
|
-
|
302
|
-
_trans = if ( _slen > 0 &&
|
300
|
+
_wide = ( (data.getbyte(p) || 0))
|
301
|
+
_trans = if ( _slen > 0 &&
|
303
302
|
_ll_lexer_trans_keys[_keys] <= _wide &&
|
304
303
|
_wide <= _ll_lexer_trans_keys[_keys + 1]
|
305
304
|
) then
|
data/lib/ll/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-ll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yorick Peterse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ast
|