Skip to content

Commit

Permalink
Fixed nasty bug in ident recognition
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1420 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Kaj Nyström committed Jan 25, 2005
1 parent 51557f5 commit dea1207
Showing 1 changed file with 35 additions and 36 deletions.
71 changes: 35 additions & 36 deletions flat_modelica_parser/src/flat_modelica_lexer.g
Expand Up @@ -21,56 +21,55 @@ tokens {
AND = "and" ;
ANNOTATION = "annotation" ;
BLOCK = "block" ;
BOUNDARY = "boundary" ;
CODE = "Code" ;
CLASS = "class" ;
CLASS = "class" ;
CONNECT = "connect" ;
CONNECTOR = "connector" ;
CONSTANT = "constant" ;
DISCRETE = "discrete" ;
EACH = "each" ;
ELSE = "else" ;
ELSEIF = "elseif" ;
ELSEWHEN = "elsewhen" ;
END = "end" ;
ENUMERATION = "enumeration" ;
EQUATION = "equation" ;
CONSTANT = "constant" ;
DISCRETE = "discrete" ;
EACH = "each" ;
ELSE = "else" ;
ELSEIF = "elseif" ;
ELSEWHEN = "elsewhen" ;
END = "end" ;
ENUMERATION = "enumeration" ;
EQUATION = "equation" ;
ENCAPSULATED = "encapsulated";
EXTENDS = "extends" ;
EXTERNAL = "external" ;
FALSE = "false" ;
EXTERNAL = "external" ;
FALSE = "false" ;
FINAL = "final" ;
FLOW = "flow" ;
FOR = "for" ;
FUNCTION = "function" ;
IF = "if" ;
FOR = "for" ;
FUNCTION = "function" ;
IF = "if" ;
IMPORT = "import" ;
IN = "in" ;
INITIAL = "initial" ;
IN = "in" ;
INITIAL = "initial" ;
INNER = "inner" ;
INPUT = "input" ;
LOOP = "loop" ;
MODEL = "model" ;
NOT = "not" ;
OUTER = "outer" ;
INPUT = "input" ;
LOOP = "loop" ;
MODEL = "model" ;
NOT = "not" ;
OUTER = "outer" ;
OVERLOAD = "overload";
OR = "or" ;
OUTPUT = "output" ;
PACKAGE = "package" ;
PARAMETER = "parameter" ;
OR = "or" ;
OUTPUT = "output" ;
PACKAGE = "package" ;
PARAMETER = "parameter" ;
PARTIAL = "partial" ;
PROTECTED = "protected" ;
PUBLIC = "public" ;
PROTECTED = "protected" ;
PUBLIC = "public" ;
RECORD = "record" ;
REDECLARE = "redeclare" ;
REPLACEABLE = "replaceable" ;
RESULTS = "results" ;
THEN = "then" ;
TRUE = "true" ;
TYPE = "type" ;
UNSIGNED_REAL = "unsigned_real";
WHEN = "when" ;
WHILE = "while" ;
RESULTS = "results" ;
THEN = "then" ;
TRUE = "true" ;
TYPE = "type" ;
UNSIGNED_REAL = "unsigned_real";
WHEN = "when" ;
WHILE = "while" ;
WITHIN = "within" ;

// SUM = "sum" ;
Expand Down

0 comments on commit dea1207

Please sign in to comment.