old_contents: #
  # linter.py
  # Linter for SublimeLinter3, a code checking framework for Sublime Text 3
  #
  # Modified from VHDL to Verilog by Leon Woestenberg
  # Original:
  # Written by Bruno JJE
  # Copyright (c) 2015 Bruno JJE
  #
  # License: MIT
  #
  
  """This module exports the Xvlog plugin class."""
  
  from SublimeLinter.lint import Linter
  
  
  class Xvlog(Linter):
  
      """Provides an interface to xvlog (from Xilinx Vivado Simulator)."""
  
      syntax = 'verilog'
      cmd = 'xvlog @'
      version_args = '--version --nolog'
      version_re = r'Vivado Simulator (?P<version>\d+\.\d+)'
      version_requirement = '>= 2014.4'
      tempfile_suffix = 'v'
  
      # Here is a sample xvhdl error output:
      # ----8<------------
      # ERROR: [VRFC 10-91] td_logic is not declared [/home/BrunoJJE/src/filtre8.vhd:35]
      # ----8<------------
  
      regex = (
          r"^(?P<error>ERROR: )(?P<message>\[.*\].*)"
          r"\[(?P<path>.*):(?P<line>[0-9]+)\]"
      )
  
      def split_match(self, match):
          """
          Extract and return values from match.
  
          We override this method to prefix the error message with the
          linter name.
  
          """
  
          match, line, col, error, warning, message, near = super().split_match(match)
  
          if match:
              message = '[xvlog] ' + message
  
          return match, line, col, error, warning, message, near
  
new_contents: #
  # linter.py
  # Linter for SublimeLinter3, a code checking framework for Sublime Text 3
  #
  # Modified from VHDL to Verilog to SystemVerilog by Leon Woestenberg
  # Original:
  # Written by Bruno JJE
  # Copyright (c) 2015 Bruno JJE
  #
  # License: MIT
  #
  
  """This module exports the Xsvlog plugin class."""
  
  from SublimeLinter.lint import Linter
  
  
  class Xsvlog(Linter):
  
      """Provides an interface to xvlog (from Xilinx Vivado Simulator)."""
  
      syntax = 'systemverilog'
      cmd = 'xvlog @'
      version_args = '-sv --version --nolog'
      version_re = r'Vivado Simulator (?P<version>\d+\.\d+)'
      version_requirement = '>= 2014.4'
      tempfile_suffix = 'sv'
  
      # Here is a sample xvhdl error output:
      # ----8<------------
      # ERROR: [VRFC 10-91] td_logic is not declared [/home/BrunoJJE/src/filtre8.vhd:35]
      # ----8<------------
  
      regex = (
          r"^(?P<error>ERROR: )(?P<message>\[.*\].*)"
          r"\[(?P<path>.*):(?P<line>[0-9]+)\]"
      )
  
      def split_match(self, match):
          """
          Extract and return values from match.
  
          We override this method to prefix the error message with the
          linter name.
  
          """
  
          match, line, col, error, warning, message, near = super().split_match(match)
  
          if match:
              message = '[xvlog] ' + message
  
          return match, line, col, error, warning, message, near
  
subject: Change from verilog to systemverilog.