Commit 9435bf0b authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge pull request #203 from albert-github/feature/bug_733856

Bug 733856 - segfault in QGListIterator while parsing fortran code
parents eabb59cb aac81f8b
...@@ -1128,6 +1128,8 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I ...@@ -1128,6 +1128,8 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
} }
YY_FTN_RESET YY_FTN_RESET
} }
<*>^{BS}"type"{BS}"=" { g_code->codify(yytext); }
<*>. { <*>. {
g_code->codify(yytext); g_code->codify(yytext);
} }
......
...@@ -739,6 +739,7 @@ private { ...@@ -739,6 +739,7 @@ private {
{ID} { {ID} {
} }
^{BS}"type"{BS_}"is"/{BS_} { } ^{BS}"type"{BS_}"is"/{BS_} { }
^{BS}"type"{BS}"=" { }
} }
<AttributeList>{ <AttributeList>{
{COMMA} {} {COMMA} {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment