bugGNU nano - Bugs: bug #56501, an empty syntax before an...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56501: an empty syntax before an 'extendsyntax' command is not reported

Submitter:  Benno Schulenberg <bens>
Submitted:  Sat 15 Jun 2019 01:44:21 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sat 15 Jun 2019 05:45:15 PM UTC, comment #2: 

Fixed in git, commit d82c753b.

Benno Schulenberg <bens>
Group administrator
Sat 15 Jun 2019 05:26:15 PM UTC, comment #1: 

Morphing this bug into an older one.  Add the following after the first line of the example ~/.nanorc:

  syntax "between" "210"
  extendsyntax empty color green "nope"

Run nano and see that it does not complain about the "between" syntax not having any color commands.

This buglet exists since version 2.3.3, when the 'extendsyntax' command was added.

Benno Schulenberg <bens>
Group administrator
Sat 15 Jun 2019 01:44:21 PM UTC, original submission:  

To reproduce, create a ~/.nanorc that contains:

  syntax "empty" "111"
  syntax "also" "222"
  set smarthome

The run src/nano and press ^X.  It only reports that 'Syntax "empty" has no color commands'.  It says nothing about "also".  This used to work fine.

The offending commit is 0af9ce92 from half an hour ago.

Benno Schulenberg <bens>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-06-19 bens Open/ClosedOpen Closed
    2019-06-15 bens StatusIn Progress Fixed
    2019-06-15 bens StatusNone In Progress
        Summaryin current git, the last empty syntax is not reported an empty syntax before an 'extendsyntax' command is not reported

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code