Ho applicazioni X# con * per segnalare una nota. Con la nuova versione di X# me le segnala con error XS9002: Parser: unexpected input '*'
Ripassare tutta le applicazioni e sostituire tutto con // e' l'unica possibilita' ?
Grazie
Giorgio
"*"
Moderator: wriedmann
Re: "*"
Ciao Giorgio,
le note di rilascio di X# 2.20 segnalano:
We have added a new compiler option /modernsyntax (#1394). This disables certain legacy features:
- && for line comments
- * at the start of a line for a comment line
Saluti
Wolfgang
le note di rilascio di X# 2.20 segnalano:
We have added a new compiler option /modernsyntax (#1394). This disables certain legacy features:
- && for line comments
- * at the start of a line for a comment line
Saluti
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
-
- Posts: 20
- Joined: Mon Feb 29, 2016 3:51 pm
- Location: Nicaragua
Re: "*"
Grazie Wolfgang,
pero' con /modernsyntax marcato o no, non cambia niente: da sempre lo stesso errore
Giorgio
pero' con /modernsyntax marcato o no, non cambia niente: da sempre lo stesso errore
Giorgio
Re: "*"
Hi Giorgio,
Is it on a Core dialect app? Indeed I see in Core the * comments are disabled, no matter the state of /modernsyntax. Robert, maybe we should make also core respect the /modernsyntax setting, regarding allowing "*" for single line comments?
Is it on a Core dialect app? Indeed I see in Core the * comments are disabled, no matter the state of /modernsyntax. Robert, maybe we should make also core respect the /modernsyntax setting, regarding allowing "*" for single line comments?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
-
- Posts: 20
- Joined: Mon Feb 29, 2016 3:51 pm
- Location: Nicaragua
Re: "*"
Hi Chris,
the application is in Vulcan dialect.
the application is in Vulcan dialect.
Re: "*"
Giorgio,
The fact that we were allowing '*' at the start of a line and '&&' for end of line single line comments in the Vulcan dialect, was not compatible with Vulcan.
Vulcan did not allow this.
This was corrected in 2.20 at the same time when we added the /modernsyntax command line option.
We should probably have added to the list of changes in the Version History.
Robert
The fact that we were allowing '*' at the start of a line and '&&' for end of line single line comments in the Vulcan dialect, was not compatible with Vulcan.
Vulcan did not allow this.
This was corrected in 2.20 at the same time when we added the /modernsyntax command line option.
We should probably have added to the list of changes in the Version History.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu