diff options
Diffstat (limited to 'Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtext')
-rw-r--r-- | Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtext | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtext b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtext index daa15ca1..d5b40ed9 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtext +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtext | |||
@@ -50,12 +50,15 @@ terminal UNSIGNED_RAT_ID: (LITERAL) ('/') ('1'..'9') (INT)? ; | |||
50 | terminal SIGNED_RAT_ID: (SIGN)* (UNSIGNED_RAT_ID); | 50 | terminal SIGNED_RAT_ID: (SIGN)* (UNSIGNED_RAT_ID); |
51 | 51 | ||
52 | //Overwriting is necessary | 52 | //Overwriting is necessary |
53 | terminal ANY_OTHER: '%' (!('\n'|'\r'))* ('\r'); | 53 | terminal ID: (!('\n'|'\r'))* ; |
54 | terminal ANY_OTHER: ID; | ||
54 | terminal SINGLE_COMMENT: ANY_OTHER; | 55 | terminal SINGLE_COMMENT: ANY_OTHER; |
55 | //terminal ID: ( !('('|')'|'\r'|'\n') )+ ; | 56 | //terminal ID: ( !('('|')'|'\r'|'\n') )+ ; |
56 | 57 | ||
57 | 58 | ||
58 | 59 | ||
60 | |||
61 | |||
59 | ////////////////////////////////// | 62 | ////////////////////////////////// |
60 | // VLS types | 63 | // VLS types |
61 | ////////////////////////////////// | 64 | ////////////////////////////////// |
@@ -71,7 +74,7 @@ VLSName: | |||
71 | 74 | ||
72 | // <comments> | 75 | // <comments> |
73 | VLSComment: | 76 | VLSComment: |
74 | comment = SINGLE_COMMENT | 77 | '%' comment = SINGLE_COMMENT |
75 | //need to add a new line at the end of the file for the case where the last line is a comment | 78 | //need to add a new line at the end of the file for the case where the last line is a comment |
76 | ; | 79 | ; |
77 | 80 | ||