Skip to content

Commit

Permalink
Add r prefix to multi-line string literal
Browse files Browse the repository at this point in the history
Fixes issue elfprince13#2
  • Loading branch information
ReGuess authored Oct 9, 2020
1 parent 87fface commit 5abba03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions titablegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def make_LudditeLexer(fname):
ret = multibyte[tokIndex++];
}
return ret;
}""" + ("""
}""" + (r"""
int main(int argc,const char * args[])
{
Expand Down Expand Up @@ -325,4 +325,4 @@ def make_LudditeLexer(fname):
return tEOF;
}
""")


0 comments on commit 5abba03

Please sign in to comment.