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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 907aa70757b39f8af86583749c1088e574e338d8
4
- data.tar.gz: c1310896ee8ec9113c6637a1665cded15d9fc46e
3
+ metadata.gz: a62ba595bf65ddec515dd3f1c905385e9b8bbbde
4
+ data.tar.gz: 08ec033a8c9ed472637b2e5a0ab2307d440dbdbe
5
5
  SHA512:
6
- metadata.gz: d0d5c2fa778b38449f3ae10016b87fd50e7070fa96c686e161cedc95d5651c0b6efe27ac737aa59459f6f35e60b1680700740fb590b446256adcb916cdfa7cfa
7
- data.tar.gz: ce1b2670a87a11ffca70130c50f0adb81292f78b115d136f5892b5552690f20b3df8fba8cde4eef3d1608a8e49652f155682bf06f770d6fbd426487c86be4b6a
6
+ metadata.gz: 3c17f041104af568bec2bceae1f4eda8d90519fcade58a3fa965b281538363e1954749ddf3fe086797432dac130f1284bda4fa51bf13623c0aa39d050860af4d
7
+ data.tar.gz: 6d4cb5330de7c551bba92e6de2f158b343168421388e8032718e006a8c7d20e3fe8121ecd7c9bfb11b96a0021c0aa24566985ccf67bacd2b0b31742bd807e14a
@@ -1,13 +1,11 @@
1
1
  require 'mkmf'
2
2
 
3
- have_header('ruby.h')
4
-
5
- $CFLAGS << ' -Wextra -Wall -pedantic'
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')
@@ -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 = ( _wide)
301
- _wide = (data.getbyte(p) || 0)
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
@@ -1,3 +1,3 @@
1
1
  module LL
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
3
3
  end # LL
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.0
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-19 00:00:00.000000000 Z
11
+ date: 2015-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ast