logo separator

[mkgmap-dev] mkgmap --check-styles and line count

From Steve Ratcliffe steve at parabola.me.uk on Mon Mar 24 21:04:02 GMT 2014

Hi

>   @Steve: I know that this part in TokenScanner is critical, so I don't
> dare to change it:
>          if (c == '\n' || c == '\r') {
>              while ((c = readChar()) == '\n' || c == '\r')
>                  val.append(c);
> ..
> }

The attached patch fixes this, I believe.

..Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: newline_count.patch
Type: text/x-patch
Size: 1783 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140324/9286f37a/attachment-0001.bin>


More information about the mkgmap-dev mailing list