mochiscript 0.4.0.pre13 → 0.4.0.pre14

Sign up to get free protection for your applications and to get access to all the features.
@@ -350,7 +350,7 @@ JS2.Class.extend('Tokens', function(KLASS, OO){
350
350
  }
351
351
 
352
352
  //$m.outs(n + "= " + JSON.stringify(this.orig.substr(starting-n, n)));
353
- return this.orig.substr(starting-n, n);
353
+ return this.orig.substr(starting-n+1, n);
354
354
  });
355
355
 
356
356
  OO.addMember("lookahead",function (n) {
data/lib/mochiscript.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Mochiscript
2
- VERSION = "0.4.0-pre13".sub("-", '.')
2
+ VERSION = "0.4.0-pre14".sub("-", '.')
3
3
  end
4
4
 
5
5
  require File.dirname(__FILE__) + '/mochiscript/core'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mochiscript
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 0.4.0.pre13
5
+ version: 0.4.0.pre14
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeff Su