Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing parserm.h

UnpackGrammarLine (lines 648-670)

0648  [ UnpackGrammarLine line_address i m;
0649      for (i=0 : i<32 : i++) {
0650          line_token-->i = ENDIT_TOKEN;
0651          line_ttype-->i = ELEMENTARY_TT;
0652          line_tdata-->i = ENDIT_TOKEN;
0653      }
0654      for (i=0 : i<=5 : i++) {
0655          line_token-->i = line_address->(i+1);
0656          AnalyseToken(line_token-->i);
0657          if ((found_ttype == ELEMENTARY_TT) && (found_tdata == NOUN_TOKEN)
0658             && (m == line_address->0)) {
0659              line_token-->i = ENDIT_TOKEN;
0660              break;
0661          }
0662          line_ttype-->i = found_ttype;
0663          line_tdata-->i = found_tdata;
0664          if (found_ttype ~= PREPOSITION_TT) m++;
0665      }
0666      action_to_be = line_address->7;
0667      action_reversed = false;
0668      params_wanted = line_address->0;
0669      return line_address + 8;
0670  ];


Last updated 27 February 2004. The librarian in charge of this page is Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight. Please email any comments, suggestions or corrections to cedenqs@inform-fiction.org.