[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #39210] grub2.00 typo in yylex.l for "[[" / "]]"
From: |
Douglas Ray |
Subject: |
[bug #39210] grub2.00 typo in yylex.l for "[[" / "]]" |
Date: |
Sun, 09 Jun 2013 09:12:17 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:21.0) Gecko/20100101 Firefox/21.0 |
URL:
<http://savannah.gnu.org/bugs/?39210>
Summary: grub2.00 typo in yylex.l for "[[" / "]]"
Project: GNU GRUB
Submitted by: dougray
Submitted on: Sun 09 Jun 2013 09:12:16 GMT
Category: None
Severity: Major
Priority: 5 - Normal
Item Group: Non-software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name: Douglas Ray
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release:
Release: other
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
(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/
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39210>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #39210] grub2.00 typo in yylex.l for "[[" / "]]",
Douglas Ray <=