ether-code 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cli/ether.js CHANGED
@@ -6,7 +6,7 @@ const http = require('http')
6
6
  const { EtherCompiler } = require('./compiler')
7
7
  const { Watcher } = require('./watcher')
8
8
 
9
- const VERSION = '0.3.1'
9
+ const VERSION = '0.3.2'
10
10
 
11
11
  const COLORS = {
12
12
  reset: '\x1b[0m',
package/ether-parser.js CHANGED
@@ -278,6 +278,8 @@ class EtherParser {
278
278
  const decl = this.parseCSSDeclaration()
279
279
  if (decl) {
280
280
  declarations.push(decl)
281
+ } else {
282
+ this.advance()
281
283
  }
282
284
  }
283
285
 
@@ -474,6 +476,8 @@ class EtherParser {
474
476
  const decl = this.parseCSSDeclaration()
475
477
  if (decl) {
476
478
  declarations.push(decl)
479
+ } else {
480
+ this.advance()
477
481
  }
478
482
  }
479
483
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ether-code",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Ether - Le langage intentionnel",
5
5
  "main": "cli/compiler.js",
6
6
  "bin": {