Bug 5502

Summary: (fhpd) print +1
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Teresa Thomas <tthomas>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246, 5495    

Description Andrew Cagney 2007-12-17 16:23:02 UTC
(fhpd) print +1
<AST>:0:0: unexpected end of subtree
Internal Error: java.lang.NullPointerException
   at frysk.expr.CExprEvaluator.expr(fhpd)
   at frysk.expr.CExprEvaluator.expr(fhpd)
   at frysk.expr.Expression.getValue(fhpd)
   at frysk.hpd.EvalCommands$1.print(fhpd)
   at frysk.hpd.EvalCommands.eval(fhpd)
   at frysk.hpd.EvalCommands.access$0(fhpd)
   at frysk.hpd.EvalCommands$Print.interpret(fhpd)
   at frysk.hpd.ParameterizedCommand.interpret(fhpd)
   at frysk.hpd.MultiLevelCommand.interpret(fhpd)
   at frysk.hpd.CLI.execCommand(fhpd)
   at frysk.bindir.fhpd.main(fhpd)
Comment 1 Teresa Thomas 2008-03-17 16:32:07 UTC
    Fixes bz# 5502. Allow "print +expression".
    
    frysk-core/frysk/expr/ChangeLog:
    2008-03-11  Teresa Thomas  <tthomas@redhat.com>
    
    	* CExpr.g: Allow +expression.