octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47277] QA target "check-missing-semicolon" fa


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47277] QA target "check-missing-semicolon" fails on some m-files
Date: Fri, 26 Feb 2016 19:42:59 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0.2

URL:
  <http://savannah.gnu.org/bugs/?47277>

                 Summary: QA target "check-missing-semicolon" fails on some
m-files
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Fri 26 Feb 2016 11:42:58 AM PST
                Category: Configuration and Build System
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Extremely minor issue. I ran across this target I didn't even know existed,
"make check-missing-semicolon" loads all m-files in the Octave distribution
and reports on lines that do not end with a semicolon.

Target had been broken since the Makefile reorg a few months ago, that is not
fixed. It now breaks because certain types of m-files cannot be sourced, in
particular m-files that define classdef classes or m-files that have
subfunctions (at least those are the errors I saw when trying to run the
target).

The attached quick-n-dirty hack fixed the target for me by skipping over the
files in question, but prevents a few files from being checked. Maybe someone
would want to work on a different way to parse and check for such things?



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 26 Feb 2016 11:42:58 AM PST  Name: check-missing-semicolon.diff 
Size: 931B   By: mtmiller

<http://savannah.gnu.org/bugs/download.php?file_id=36477>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47277>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]