Skip to content

Commit

Permalink
Use lax parser in prepare_cpl.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch authored and kasbah committed Jan 23, 2018
1 parent bc65db1 commit b7f4e70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ test-lib/

java/
js/**/ElectroGrammar*
python3/**/ElectroGrammar*
js/**/cpl_*
python3/**/ElectroGrammar*
python3/**/cpl_*
2 changes: 1 addition & 1 deletion prepare_cpl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const yaml = require('js-yaml');
const fs = require('fs');
const {parse} = require('./js/lib/index.js');
const {parse} = require('./js/lib/lax_parser.js');

let resistors = fs.readFileSync('./cpl-data/CPL for Production/Resistors.yaml');
resistors = yaml.safeLoad(resistors);
Expand Down

0 comments on commit b7f4e70

Please sign in to comment.