bugGNU GRUB - Bugs: bug #39210, grub2.00 typo in yylex.l for...

 
 

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

bug #39210: grub2.00 typo in yylex.l for "[[" / "]]"

Submitter:  Douglas Ray <dougray>
Submitted:  Sun 09 Jun 2013 09:12:16 AM UTC
   
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  Non-software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  Douglas Ray
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Sun 09 Jun 2013 09:12:16 AM UTC, original submission:  

 (root)/grub/trunk/grub : /grub-core/script/yylex.l (revision 5030) :


173

"[["            { RECORD; return GRUB_PARSER_TOKEN_RSQBR2;    }

174

"]]"            { RECORD; return GRUB_PARSER_TOKEN_LSQBR2;    }




"R" and "L" swapped.

Also is reverse of token id usage in parser.y, where R and L
are correct (making '[' and "[[" synonyms, ditto '[' and "]]").

Don't see where they're used - are square brackets gobbled
as lookaheads somewhere?  The package I'm using seems to work
for "if [ ...".

Browsed at bzr:
  http://bzr.savannah.gnu.org/lh/grub/trunk/grub/annotate/head:/grub-core/script/yylex.l

Appears the same in the 2.00 tarball at:
  ftp://ftp.gnu.org/gnu/grub/

Douglas Ray <dougray>

 

(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 phcoder (Updated the item)
  • -email is unavailable- added by dougray (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-16 phcoder StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code