Changeset 35287 in osm for applications/editors


Ignore:
Timestamp:
2020-01-13T21:45:22+01:00 (5 years ago)
Author:
simon04
Message:

JOSM/comfort0: enforce newline after comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/comfort0/src/net/simon04/comfort0/level0l/Level0LParser.jj

    r35286 r35287  
    2929
    3030<COMMENT>
    31 SKIP: { < ~[] > }
     31SKIP: { < ~["\n", "\r"] > }
    3232
    3333<COMMENT>
     
    7070    lon=<FLOAT>
    7171    { r.setCoor(new LatLon(Double.parseDouble(lat.image), Double.parseDouble(lon.image))); }
    72     ( <COMMENT_START> | <H_EOL> )
     72    ( <COMMENT_START> <C_EOL> | <H_EOL> )
    7373    ( <D_SPACE> <D_SPACE> tag(r) )*
    7474    { return r; }
     
    8585    id=<H_ID>
    8686    { r.setId(Long.parseLong(id.image)); }
    87     ( <COMMENT_START> | <H_EOL> )
     87    ( <COMMENT_START> <C_EOL> | <H_EOL> )
    8888    way_data(r)
    8989    { return r; }
     
    109109    { r.getNodeIds().add(Long.parseLong(id.image)); }
    110110    ( <D_SPACE> )*
    111     ( <D_COMMENT_START> | <D_EOL> )
     111    ( <D_COMMENT_START> <C_EOL> | <D_EOL> )
    112112}
    113113
Note: See TracChangeset for help on using the changeset viewer.