Skip to content
Snippets Groups Projects
Commit 070dd5c8 authored by Gaius Mulley's avatar Gaius Mulley
Browse files

modula2: issue the parameter incompatibility error message based on dialect


This tiny patch improves the parameter incompatibility error message by
having a different message for the dialect chosen mentioning the specific
violation.  PIM uses assignment rules for pass by value and expression
rules for pass by reference.  ISO uses expression type checking for
pass by value and pass by reference.

gcc/m2/ChangeLog:

	* gm2-compiler/M2FileName.def (CalculateFileName): Remove
	quoted string in comment.
	* gm2-compiler/M2Range.mod (FoldTypeParam): Generate dialect
	specific parameter incompatibility error message.

Signed-off-by: default avatarGaius Mulley <gaiusmod2@gmail.com>
parent 59ff8183
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment