Commit da8770af authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Make EsprimaParser support config option.

So it has exactly the same interface as JsParser.
parent a31b002f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ module JsDuck
  class EsprimaParser

    # Initializes the parser with JavaScript source code to be parsed.
    def initialize(input)
    def initialize(input, options = {})
      @input = input

      # Initialize line number counting