Project

General

Profile

Bug #6

RUN stmt parameter list ending delimiter can be duplicated

Added by Greg Shah over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/15/2011
Due date:
11/30/2011
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version:

History

#1 Updated by Greg Shah over 12 years ago

@45101 - recreate:

Consider this code:

run some-internal-proc ("some parm here")) no-error.

Notice the non-matching parenthesis. Progress does allow this to compile.  In fact, there can be an unlimited number of extra trailing parenthesis and the code will still compile in Progress.  P2J doesn't accept this at this time.

It isn't clear if that code just drops (ignores) the parenthesis OR if that is just treated as runtime preprocessor argument data.  A test would be needed to check this.

#2 Updated by Redmine Admin over 12 years ago

@45107 - Status set to WIP

#3 Updated by Redmine Admin over 12 years ago

@45108 - Status set to WIP

#4 Updated by Redmine Admin over 12 years ago

@45109 - Status set to WIP

#5 Updated by Greg Shah over 12 years ago

@45121 - solution (for now):

The parser code was modified to ignore (silently drop) any non-matched trailing RPARENS in a RUN statement.  The same code is used for other statements, but this change only affects the RUN.

If the extra parens must be passed as arguments, then the parser will need to be changed again. The proper behavior has not been tested at this time.

#6 Updated by Redmine Admin over 12 years ago

@45122 - Status changed from WIP to Closed

#7 Updated by Greg Shah about 12 years ago

Imported from JPRM on 2012-04-12 11:22:59.151:

TASKID      = 6095
PROJECTID   = 124
STATUS      = 9 (Closed)
DESCRIPTION = RUN stmt parameter list ending delimiter can be duplicated
OWNER       = GES
ASSIGNEE    = GES
BILLABLE    = false
PRIORITY    = 5 (Normal)
PHASE       = 52 (Problem Resolution)
COMPONENT   = 97
ESTEFFORT   = 0.000000
ESTSTART    = 2011-09-15
ESTSTOP     = 2011-11-30
ACTSTOP     = 2011-11-30
CASENUM     = 
VENDORID    = 
COMMENT     = ''
LASTWIP     = 2011-10-11

Also available in: Atom PDF