File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ownlang-parser/src/main/java/com/annimon/ownlang/parser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ private void tokenizeExtendedWord() {
303303 char current = peek (0 );
304304 while (current != '`' ) {
305305 if ("\r \n \0 " .indexOf (current ) != -1 ) {
306- throw error ("Reached end of line while parsing extended word. " , startPos , markEndPos ());
306+ throw error ("Reached end of line while parsing extended word" , startPos , markEndPos ());
307307 }
308308 buffer .append (current );
309309 current = next ();
@@ -321,7 +321,7 @@ private void tokenizeText() {
321321 if (current == '\\' ) {
322322 current = next ();
323323 if ("\r \n \0 " .indexOf (current ) != -1 ) {
324- throw error ("Reached end of line while parsing extended word. " , startPos , markEndPos ());
324+ throw error ("Reached end of line while parsing text " , startPos , markEndPos ());
325325 }
326326
327327 int idx = "\\ 0\" bfnrt" .indexOf (current );
You can’t perform that action at this time.
0 commit comments