Changeset 4394


Ignore:
Timestamp:
10/15/03 20:15:37 (18 years ago)
Author:
piso
Message:

isAcceptableModel(): lines that begin inside multiline quoted strings are not acceptable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/JavaMode.java

    r4385 r4394  
    33 *
    44 * Copyright (C) 1998-2003 Peter Graves
    5  * $Id: JavaMode.java,v 1.13 2003-10-15 15:09:18 piso Exp $
     5 * $Id: JavaMode.java,v 1.14 2003-10-15 20:15:37 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    552552    private static final boolean isAcceptableModel(Line line)
    553553    {
    554         if (line.flags() == STATE_COMMENT)
     554        int flags = line.flags();
     555        if (flags == STATE_COMMENT || flags == STATE_QUOTE)
    555556            return false;
    556557        if (line.isBlank())
Note: See TracChangeset for help on using the changeset viewer.