From 8a5d70d5a60957930481b01afb6971b9ce1d2fdb Mon Sep 17 00:00:00 2001 From: kgs Date: Fri, 8 May 2009 20:30:11 +0000 Subject: [PATCH] Fixed higgledy-piggledy productionset elements to make them more eyeball-friendly. git-svn-id: svn://svn.open-ils.org/ILS/trunk@13107 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- docs/Guides/JSONGrammar.xml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/docs/Guides/JSONGrammar.xml b/docs/Guides/JSONGrammar.xml index b26d8f05b6..0eeff234a9 100644 --- a/docs/Guides/JSONGrammar.xml +++ b/docs/Guides/JSONGrammar.xml @@ -45,14 +45,14 @@ If a construct can be defined more than one way, then the alternatives may appear in separate productions; or, they may appear in the same production, - separated by pipe symbols. The choice between these representations is of only + separated by pipe symbols ( | ). The choice between these representations is of only cosmetic significance. - A construct enclosed within square brackets is optional. + A construct enclosed within [square brackets] is optional. - A construct enclosed within curly braces may be repeated zero or more + A construct enclosed within {curly braces} may be repeated zero or more times. @@ -186,11 +186,18 @@ query - '{' '"from"' ':' from_list [ ',' '"select"' ':' select_list - ] [ ',' '"where"' ':' where_condition ] [ ',' '"having"' ':' - where_condition ] [ ',' '"order_by"' ':' order_by_list ] [ ',' - '"limit"' ':' integer ] [ ',' '"offset"' ':' integer ] [ ',' - '"distinct"' ':' boolean ] [ ',' '"no_i18n"' ':' boolean ] '}' + + '{' + '"from"' ':' from_list + [ ',' '"select"' ':' select_list ] + [ ',' '"where"' ':' where_condition ] + [ ',' '"having"' ':' where_condition ] + [ ',' '"order_by"' ':' order_by_list ] + [ ',' '"limit"' ':' integer ] + [ ',' '"offset"' ':' integer ] + [ ',' '"distinct"' ':' boolean ] + [ ',' '"no_i18n"' ':' boolean ] + '}' -- 2.11.0