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

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

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

Fixed in git, commit d82c753b.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.5