Skip to content

Commit

Permalink
Update grammar stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Dec 26, 2018
1 parent eadb0ea commit 6c9d82c
Show file tree
Hide file tree
Showing 10 changed files with 10,576 additions and 6 deletions.
5 changes: 3 additions & 2 deletions pydbc/py3/dbcLexer.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Generated from dbc.g4 by ANTLR 4.7
# Generated from dbc.g4 by ANTLR 4.7.2
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys



def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2;")
Expand Down Expand Up @@ -360,7 +361,7 @@ class dbcLexer(Lexer):

def __init__(self, input=None, output:TextIO = sys.stdout):
super().__init__(input, output)
self.checkVersion("4.7")
self.checkVersion("4.7.2")
self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
self._actions = None
self._predicates = None
Expand Down
2 changes: 1 addition & 1 deletion pydbc/py3/dbcListener.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated from dbc.g4 by ANTLR 4.7
# Generated from dbc.g4 by ANTLR 4.7.2
from antlr4 import *
if __name__ is not None and "." in __name__:
from .dbcParser import dbcParser
Expand Down
Loading

0 comments on commit 6c9d82c

Please sign in to comment.