# HG changeset patch # User Claus Gittinger # Date 888072027 -3600 # Node ID 45cc74ba11137d6d1b2a6a54f80f8f18fb8c1320 # Parent 20bec8d70d1419eb6385288d79cbd1ca36f2c638 simplified comma-expression to make microsoft-cc happy (dies with 'too many parenthesises error ...) - sigh diff -r 20bec8d70d14 -r 45cc74ba1113 MenuEditor.st --- a/MenuEditor.st Sat Feb 21 15:28:04 1998 +0100 +++ b/MenuEditor.st Sat Feb 21 15:40:27 1998 +0100 @@ -1849,7 +1849,7 @@ ! doSave - |cls treeView menu spec mthd category code| + |cls treeView menu spec mthd category code BANG| super doSave ifFalse: [^nil]. @@ -1868,17 +1868,19 @@ category := mthd category. ]. - code := Character excla asString - , cls name , ' class methodsFor:' , category storeString - , Character excla asString , '\\' + BANG := Character excla asString. + + code := BANG + , (cls name , ' class methodsFor:' , category storeString) + , BANG , '\\' , specSelector , '\' , ' "this window spec was automatically generated by the ST/X MenuEditor"\\' , ' "do not manually edit this - the builder may not be able to\' , ' handle the specification if its corrupted."\\' , ' "\' - , ' MenuEditor new openOnClass:' , cls name , ' andSelector:#' , specSelector , '\' - , ' (Menu new fromLiteralArrayEncoding:(' , cls name , ' ' , specSelector , ')) startUp\' + , (' MenuEditor new openOnClass:' , cls name , ' andSelector:#' , specSelector , '\') + , (' (Menu new fromLiteralArrayEncoding:(' , cls name , ' ' , specSelector , ')) startUp\') , ' "\'. code := code @@ -1887,9 +1889,7 @@ , ' ^\' , ' ', spec , '\' - , Character excla asString - , ' ' - , Character excla asString + , (BANG , ' ' , BANG) , '\\'. code := code withCRs.