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() {
303
303
char current = peek (0 );
304
304
while (current != '`' ) {
305
305
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 ());
307
307
}
308
308
buffer .append (current );
309
309
current = next ();
@@ -321,7 +321,7 @@ private void tokenizeText() {
321
321
if (current == '\\' ) {
322
322
current = next ();
323
323
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 ());
325
325
}
326
326
327
327
int idx = "\\ 0\" bfnrt" .indexOf (current );
You can’t perform that action at this time.
0 commit comments