diff --git a/intTests/test1894/test.saw b/intTests/test1894/test.saw new file mode 100644 index 0000000000..7e22ea36a3 --- /dev/null +++ b/intTests/test1894/test.saw @@ -0,0 +1 @@ +(\n -> n) 1; diff --git a/intTests/test1894/test.sh b/intTests/test1894/test.sh new file mode 100644 index 0000000000..2315cc233c --- /dev/null +++ b/intTests/test1894/test.sh @@ -0,0 +1,3 @@ +set -e + +$SAW test.saw diff --git a/src/SAWScript/Lexer.x b/src/SAWScript/Lexer.x index 11b42f4386..22a8909429 100644 --- a/src/SAWScript/Lexer.x +++ b/src/SAWScript/Lexer.x @@ -71,7 +71,6 @@ $charesc = [abfnrtv\\\"\'\&] sawTokens :- $white+ ; -"\n" ; "//".* ; "/*" { cnst TCmntS } "*/" { cnst TCmntE }