bugGNU nano - Bugs: bug #61381, the SQL syntax contains nonsense

 
 

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

bug #61381: the SQL syntax contains nonsense

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Mon 25 Oct 2021 12:39:03 PM UTC  
 
Severity:  4 - Important Status:  None
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Open

Mon 25 Oct 2021 12:39:03 PM UTC, original submission:  

See the rules for Structure and Control flow in syntax/sql.nanorc...  The SQL language does not know things like PRIVATE or PUBLIC or RAISE or EXCEPTION.  Also, see that the second rule for structure lacks a \ before the > at the end, meaning that the regex doesn't even work as intended.  :|

Then see the rules for Strings.  The first one was taken from the asm or awk syntax, but SQL does not know "#include <file>" statements.  And the double-quoted and single-quoted rules were copied from the ruby syntax, but SQL does not know constructs like %Q{something}...  The same for shell command expansion and regular expressions -- simply copied from the ruby syntax.  And the rule for trailing whitespace comes far too early.

Arrrgh...  What a mess!  I should have posted the file to the mailing list to ask for comments before maybe accepting it, because I knew and know nothing about SQL.

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.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-26 bens Summarythe SQL syntax contains crap => the SQL syntax contains nonsense

    Back to the top


    Powered by Savane 3.7