Martin Atkins cd67ba1b25 hcl/hclsyntax: Fix scanning of multi-line comments
The pattern here was being too greedy because by default the longest match
is taken, and "*/" followed by more content is always longer than just
the "*/" to terminate the match.

The :>> symbol is a "finish guard" which tells Ragel to prefer to exit
from any* as soon as "*/" matches, making the match ungreedy.

The result of this is that input files containing more than one multi-line
comment will now tokenize each one separately, whereas before we would
create one long comment including everything from the first /* to the
final */ in the file, effectively causing parts of the file to be
ignored entirely.
2018-12-03 16:26:30 -08:00
..
2018-03-04 14:04:54 -08:00
2018-02-23 08:41:58 -08:00
2018-01-27 11:03:05 -08:00
2018-01-14 11:24:19 -08:00
2018-01-14 11:24:19 -08:00
2018-01-14 11:51:05 -08:00
2018-07-01 19:35:20 +02:00