Browse Source

Fix: Tokenize whitespaces to avoid them

Leonardo Di Donato 8 years ago
parent
commit
3c008fa382
1 changed files with 4 additions and 0 deletions
  1. 4 0
      grammar/Urn.g4

+ 4 - 0
grammar/Urn.g4

@@ -52,6 +52,10 @@ Hyphen
     : '-'
     ;
 
+Whitespace
+    : ' '
+    ;
+
 fragment URN
     : [uU][rR][nN]
     ;