This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Emit a warning for ineffective set VAR = EXP command


>>>>> "Paul" ==   <Paul_Koning@Dell.com> writes:

Paul> What would ++ do if your current language is Ada, or Fortran?
Paul> Complain about syntax error?

The expression is parsed according to the current language.
So, yes, syntax error, assuming this is invalid in Ada or Fortran.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]