Skip to content

Commit

Permalink
add missing lexer import to string parser
Browse files Browse the repository at this point in the history
Fixes rkusa#215
  • Loading branch information
rkusa committed Jun 9, 2020
1 parent b69aaba commit 31b6fbc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixedd
- Fixed `Lexer is not defined` error when parsing a hex string #215

## [2.3.8] - 2020-05-22
### Fixed
Expand Down
2 changes: 2 additions & 0 deletions lib/object/string.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict'

const Lexer = require('../parser/lexer')

class PDFString {
constructor(str) {
this.str = str
Expand Down
1 change: 0 additions & 1 deletion lib/object/xref.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

const PDFObject = require('./object')
const PDFName = require('./name')
const util = require('../util')

module.exports = class PDFXref {
Expand Down

0 comments on commit 31b6fbc

Please sign in to comment.