Bug #3314
user defined symbols that are unreserved keywords make FWD parser fail
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version:
History
#1 Updated by Hynek Cihlar almost 7 years ago
The recreates are:
function close returns int. end. close().
or
class A: method void Compile(): end method. method void AnotherMethod(): Compile(). << ERROR HERE end method.
This issue was identified in #3308, see the notes #3308-206 and #3308-323.
There is a workaround solution committed in 1514a branch. See the method isUserDefFunctionCall()
in progress.g
. The workaround only covers the COMPILE
and CLOSE
keywords, however this should be generalized to any 4GL keyword.
#2 Updated by Greg Shah almost 7 years ago
- Subject changed from COMPILE/CLOSE identifiers make FWD compiler fail to user defined symbols that are unreserved keywords make FWD parser fail
#3 Updated by Greg Shah almost 7 years ago
This only can occur with unreserved keywords.