Replace block comment with a non-greedy rule 93/92093/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 13 Aug 2020 18:09:10 +0000 (20:09 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 13 Aug 2020 19:43:04 +0000 (19:43 +0000)
commitd502bccd8f1fd9757b3b4cf59784b7cdb21c8dc4
treeb27c4e244561a8c8f46ed77fe609faf74b24e54e
parent112338b5905b06725ca2297c2814c78a608625a5
Replace block comment with a non-greedy rule

We do not need an explicit mode here, we can just use a non-greedy
match and move on. This simplifies things a bit.

Change-Id: Ieab6d9cec1b17c8d86cda49cfc46a258a569e5e0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 0bf84fba6502cb4bc86f9e558a4a928e6397a793)
yang/yang-parser-antlr/src/main/antlr4/org/opendaylight/yangtools/yang/parser/antlr/YangStatementLexer.g4