Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364381 - ast_printer exit status always success
Summary: ast_printer exit status always success
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: libbash (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mu Qiao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 17:13 UTC by Petteri Räty (RETIRED)
Modified: 2011-05-29 12:07 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-21 17:13:50 UTC
betelgeuse@pena ~/gsoc/libbash $ ./ast_printer -e '"'
-memory-(1)  : error 5 : Unexpected token, at offset -1
    near [Index: 0 (Start: 140166812-Stop: 140166812) ='"', type<144> Line: 1 LinePos:-1]
     : missing elements...
(LIST (COMMAND Tree Error Node))
betelgeuse@pena ~/gsoc/libbash $ echo $?
0

We should exit with EXIT_FAILURE when we can't parse the thing.