--- loncom/homework/CAPA-converter/capaLexerDef.flex 2001/12/05 18:58:21 1.15 +++ loncom/homework/CAPA-converter/capaLexerDef.flex 2002/01/04 19:52:12 1.16 @@ -1,6 +1,6 @@ /* The LearningOnline Network with CAPA * CAPA lexer dfinition, heavily modified to become a LON-CAPA convertor - * $Id: capaLexerDef.flex,v 1.15 2001/12/05 18:58:21 albertel Exp $ + * $Id: capaLexerDef.flex,v 1.16 2002/01/04 19:52:12 albertel Exp $ * * Copyright Michigan State University Board of Trustees * @@ -820,7 +820,7 @@ EndLine ([\r][\n]|[\n]) [Ee][Vv][Aa][Ll] | [Ee][Vv][Aa][Ll][Uu][Aa][Tt][Ee] { LLDBUG_PR1("[EVAL]");send("\" eval="); dosend=1;} [Uu][Nn][Ii][Tt] | -[Uu][Nn][Ii][Tt][Ss] { LLDBUG_PR1("[UNIT]"); send("\" units=\""); dosend=1;} +[Uu][Nn][Ii][Tt][Ss] { LLDBUG_PR1("[UNIT]"); send("\" unit=\""); dosend=1;} [Ee][Xx][Tt][Ee][Rr][Nn][Aa][Ll] { LLDBUG_PR1("[EXTERNAL]"); dosend=0; } [Aa][Nn][Ss][Bb][Oo][Xx] { LLDBUG_PR1("[SHOW_ANS_BOX]"); dosend=0; }