c_lexer 2.5.1.0.pre1 → 2.5.1.0.pre2

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
  SHA256:
3
- metadata.gz: 3b6fdc822346ef189eb54aee2418b66806d4a1716483326a7f33be3953ef18b6
4
- data.tar.gz: 74921a8413c03e7c5b388f8f7b1ea54e1e7d7579c613a608fe2b00f9f4355107
3
+ metadata.gz: d69239c3a8e5a8d86fab7c3063f55851e09e5f6e2833f3e1ffb6d16e26fea0b6
4
+ data.tar.gz: dd48e4a13c3c5a680d66ff07c216c4da3cfa25cc87045c0ff2e28cc91776bb22
5
5
  SHA512:
6
- metadata.gz: c4f17e98515d2f684b1dbde7427f96c7a52020a562b0d4c5d630066f1e0dc7c76bac279cdd8efc3d20da9b9593e0ec75aae8c40e7ae3f31f54dbb4177e6d3234
7
- data.tar.gz: 8629e89c200a663e916b127338b8aeac648fc61b883e03be7a5f80b7622bdd5fb60429365cff579d837879d5944c2816d91d5a7a589b07a318b69b3a66716fb0
6
+ metadata.gz: 34621afed4269fc3085add014b888c6a73638e3892cf3ce450c7320f1547fc6478b1fec80d7d490d90510c5d480b481c14d31fa53c69bb90b1257f170c1abc1e
7
+ data.tar.gz: 966eb6204c101554301a60a36105fc3413226a2332a233d694fd0f340b40fa5d0bc137782ca97312046ae15911570c15e5b800d685642e75cfaa3df63748f574
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- c_lexer (2.5.1.0.pre1)
4
+ c_lexer (2.5.1.0.pre2)
5
5
  ast (~> 2.4.0)
6
6
  parser (= 2.5.1.0)
7
7
 
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # CLexer
2
2
 
3
3
  [![Build Status](https://travis-ci.org/opal/c_lexer.svg?branch=master)](https://travis-ci.org/opal/c_lexer)
4
+ [![Build status](https://ci.appveyor.com/api/projects/status/lqw4pid44jvfbnl3/branch/master?svg=true)](https://ci.appveyor.com/project/iliabylich/c-lexer/branch/master)
4
5
 
5
6
  A C port of the whitequark/parser's lexer.
6
7
 
data/appveyor.yml ADDED
@@ -0,0 +1,25 @@
1
+ version: 1.0.{build}-{branch}
2
+
3
+ environment:
4
+ matrix:
5
+ - ruby_version: 25-x64
6
+
7
+
8
+ init:
9
+ - set PATH=C:\ruby%ruby_version%\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Program Files\7-Zip;C:\Program Files\AppVeyor\BuildAgent;C:\Program Files\Git\cmd;C:\Windows\system32
10
+
11
+ install:
12
+ # Install ragel
13
+ - bash -lc "pacman -S --noconfirm mingw-w64-x86_64-ragel"
14
+ - git submodule update --init
15
+
16
+ - ruby -v
17
+ - gem -v
18
+ - bundle -v
19
+
20
+ - bundle install --retry 3
21
+
22
+ build: off
23
+
24
+ test_script:
25
+ - bundle exec rake -rdevkit test -- --use-system-libraries
data/ext/lexer/lexer.h CHANGED
@@ -6,7 +6,7 @@ typedef struct lexer_state lexer_state;
6
6
  define_stack_type(lit_stack, literal, {0});
7
7
 
8
8
  struct lexer_state {
9
- uint cs; /* DFA state */
9
+ int cs; /* DFA state */
10
10
  long p; /* stream position */
11
11
  long pe; /* end-of-stream position */
12
12
 
@@ -49,7 +49,7 @@ struct lexer_state {
49
49
 
50
50
  VALUE escape;
51
51
 
52
- uint cs_before_block_comment;
52
+ int cs_before_block_comment;
53
53
  };
54
54
 
55
55
  static void lexer_mark(void*);
@@ -1,3 +1,3 @@
1
1
  module CLexer
2
- VERSION = '2.5.1.0.pre1'
2
+ VERSION = '2.5.1.0.pre2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c_lexer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1.0.pre1
4
+ version: 2.5.1.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Bylich
@@ -151,6 +151,7 @@ files:
151
151
  - Gemfile.lock
152
152
  - README.md
153
153
  - Rakefile
154
+ - appveyor.yml
154
155
  - bin/c-ruby-parse
155
156
  - bin/console
156
157
  - bin/setup