Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PRINT-ALL-DOCUMENTATION locating documentation string #1736

Conversation

MattHeffron
Copy link
Contributor

In PRINT-ALL-DOCUMENTATION only one of two places was checked for the documentation string.
(Also, MAKEFILE updated the LAMA variable in the CMLEXECCOMS.)
Issue #1735

… documentation string.

(Also, MAKEFILE updated the LAMA variable in the CMLEXECCOMS.)
@MattHeffron MattHeffron requested review from masinter and rmkaplan May 25, 2024 04:31
@MattHeffron MattHeffron self-assigned this May 25, 2024
@rmkaplan
Copy link
Contributor

In the technical meeting today, we focused on the LAMA specification in the files COMS. It seems very odd (as in I have never seen it) that a file has explicit settings for the LAMA, NLAMA... variables, those were always automatically supplied and properly updated by the MAKEFILE.

Is there something special about this particular file? Or are these variable settings just a historical mistake that is being carried forward. What would happen if this command is simply removed from the file?

(We noted that this file is compiled by FAKE-COMPILE-FILE, if that is somehow relevant to this question.)

@MattHeffron
Copy link
Contributor Author

@rmkaplan The changes to LAMA are the subject of my Issue #1725.
In this case, instead of having the file contain two instances of the COMS; the original, and the one updated by the MAKEFILE, I did a few steps:

  1. I saved the file with MAKEFILE writing the COMS twice.
  2. I exited the sysout and started a clean FULL sysout.
  3. I loaded the file 'PROP (At this point the COMS were updated.)
  4. I marked PRINT-ALL-DOCUMENTATION as changed.
  5. I did a CLEANUP of the file. (Only the single, updated, COMS are written.)
  6. Created the Pull request.

@MattHeffron
Copy link
Contributor Author

I don't know if removing the

(DECLARE%: DONTEVAL@LOAD DOEVAL@COMPILE DONTCOPY COMPILERVARS 
(ADDTOVAR NLAMA DIR)
(ADDTOVAR NLAML )
(ADDTOVAR LAMA PROCESS-EXEC-ID PRINT-EVENT PRINT-HISTORY EXEC-PRIN1 EVENTS-INPUT EVAL-INPUT EXEC-READ)
)

from the COMS would have any effect, good or bad. It seems simplest just to leave it and include MAKEFILE's update.

@rmkaplan
Copy link
Contributor

rmkaplan commented May 31, 2024 via email

Copy link
Member

@fghalasz fghalasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved as per Implementors Mtg on 2024-06-03

@fghalasz fghalasz merged commit fcd40bc into master Jun 3, 2024
@masinter masinter deleted the mth13--qmark_command_omits_documentation_if_given_name_argument branch June 24, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants