Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363031 - foo=1aa does not work
Summary: foo=1aa does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: libbash (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 05:49 UTC by Petteri Räty (RETIRED)
Modified: 2011-04-11 13:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2011-04-11 05:49:46 UTC
betelgeuse@pena ~/gsoc/libbash $ ./ast_printer -e "foo=1aa"
-memory-(1)  : error 3 : ()* loopback of 103:12: ( ( BLANK )+ var_def )*, at offset 4
    near [Index: 3 (Start: 144213665-Stop: 144213666) ='aa', type<117> Line: 1 LinePos:4]
     : cannot match to any predicted input...
(LIST Tree Error Node)

The value rule should not have num and var_ref as alternatives. fname will cover those cases with a little bit more noise in the ast.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2011-04-11 13:47:55 UTC
Fixed.