~mouradian/spud/fix-about-dialog

« back to all changes in this revision

Viewing changes to diamond/bin/diamond

  • Committer: Cian Wilson
  • Date: 2012-02-27 15:52:52 UTC
  • mfrom: (514.2.3 noflml)
  • Revision ID: cwilson@ldeo.columbia.edu-20120227155252-8bkuylsvtxg4ami4
Removing the downloaded flml default from diamond.

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
        debug.deprint("Have you registered it in /etc/diamond/schemata/ or $HOME/.diamond/schemata?", 0)
154
154
        debug.deprint("To register a schema, place a file in one of those directories, and let its name be the suffix of your language.", 0)
155
155
        debug.deprint("The file should consist of:", 0)
156
 
        debug.deprint("  A Verbal Description Of The Language Purpose", 0)
157
 
        debug.deprint("  Lines of the format alias=/path/to/the/schema/file.rng", 0)
158
 
        debug.deprint("  alias= is optional, if not given default= is added automaticly")
 
156
        debug.deprint(" A Verbal Description Of The Language Purpose", 0)
 
157
        debug.deprint(" alias1=/path/to/schema1/file.rng", 0)
 
158
        debug.deprint(" alias2=/path/to/schema2/file.rng", 0)
159
159
        sys.exit(1)
160
160
      
 
161
    elif len(config.schemata) == 0:
 
162
      debug.deprint("Could not find a schema file.", 0)
 
163
      debug.deprint("Have you registered it in /etc/diamond/schemata/ or $HOME/.diamond/schemata?", 0)
 
164
      debug.deprint("To register a schema, place a file in one of those directories, and let its name be the suffix of your language.", 0)
 
165
      debug.deprint("The file should consist of:", 0)
 
166
      debug.deprint(" A Verbal Description Of The Language Purpose", 0)
 
167
      debug.deprint(" alias1=/path/to/schema1/file.rng", 0)
 
168
      debug.deprint(" alias2=/path/to/schema2/file.rng", 0)
 
169
      sys.exit(1)
 
170
 
161
171
    # if there is only one schema, use that
162
172
    elif len(config.schemata) == 1:
163
173
      suffix = config.schemata.keys()[0]