Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362653 - Parse failure on a valid for loop
Summary: Parse failure on a valid for loop
Status: RESOLVED OBSOLETE
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-08 21:22 UTC by Petteri Räty (RETIRED)
Modified: 2018-01-25 17:54 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-08 21:22:00 UTC
betelgeuse@pena ~/gsoc/libbash $ bash doc/for_expr.sh 
hello
hello
hello
hello
hello
hello
hello
hello
hello
betelgeuse@pena ~/gsoc/libbash $ cat doc/for_expr.sh 
for ((i=1; i<10;
        ++i))
do
        echo hello
done
betelgeuse@pena ~/gsoc/libbash $ ./ast_printer -t -f doc/for_expr.sh 
-memory-(1)  : error 5 : Unexpected token, at offset 2
    near [Index: 1 (Start: 162227135-Stop: 162227135) =' ', type<55> Line: 1 LinePos:2]
     : missing elements...
-memory-(1)  : error 3 : ()* loopback of 108:37: ( redirect )*, at offset 3
    near [Index: 2 (Start: 162227136-Stop: 162227137) ='((', type<82> Line: 1 LinePos:3]
     : cannot match to any predicted input...
(LIST Tree Error Node (COMMAND (STRING i) (REDIR < (STRING 10))))
Comment 1 Pacho Ramos gentoo-dev 2018-01-25 17:54:17 UTC
Developer retired (and his mail address is not active anymore)