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: [PATCH:doc] GDB/MI attribute names


 >                                                  ...I can guess what it
 > means but why are there three pairs of double quotes?

I see why now. Perhaps something like:

   <fieldchar> ::== <letter> | <digit> | "_"
   <variable>  ::==  """ <letter> ( <fieldchar> )+ """

I would prefer to use BNF as it seems quite widespread and I've not seen

`COMMAND ==>'
     `CLI-COMMAND | MI-COMMAND'

as a syntax anywhere else.

-- 
Nick                                           http://users.snap.net.nz/~nickrob


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