Skip to content
Snippets Groups Projects
Commit 7ccb473c authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

less fatal error on unknown token

Rev: lib/modules/Parser.pmod/Pike.pmod:1.6
parent fd2bfe3b
No related branches found
No related tags found
No related merge requests found
...@@ -106,9 +106,7 @@ array(string) split(string data) ...@@ -106,9 +106,7 @@ array(string) split(string data)
break; break;
default: default:
werror("%O\n",ret); throw( ({sprintf("Unknown token %O\n",data[pos..pos+20]) }) );
werror("Unknown token %O\n",data[pos..pos+20]);
exit(1);
case '`': case '`':
while(data[pos]=='`') data[pos]++; while(data[pos]=='`') data[pos]++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment