Skip to content

Commit

Permalink
Fixed error in comment line number recognition
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1215 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Kaj Nyström committed Aug 26, 2004
1 parent 924b1a2 commit 2a92c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modelica_parser/src/modelica_lexer.g
Expand Up @@ -130,7 +130,7 @@ ML_COMMENT_CHAR :
;

SL_COMMENT :
"//" (~('\n' | '\r') { newline(); } )*
"//" (~('\n' | '\r') )*
{ $setType(antlr::Token::SKIP); }
;

Expand Down

0 comments on commit 2a92c1c

Please sign in to comment.