Replace block comment with a non-greedy rule 56/92156/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 13 Aug 2020 18:09:10 +0000 (20:09 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 14 Aug 2020 16:03:40 +0000 (18:03 +0200)
commita33ccd1aec56b0ea227f7b9dc73ac282e179382d
treef8947358e365edb8e7963e133283b4479261058f
parentc822daf034a893c89781dece1052584146bc7231
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)
(cherry picked from commit d502bccd8f1fd9757b3b4cf59784b7cdb21c8dc4)
yang/yang-parser-rfc7950/src/main/antlr/org/opendaylight/yangtools/antlrv4/code/gen/YangStatementLexer.g4