mirror of
https://github.com/mudabbir-ahmad/UNI-PROG3-CW2-DYOPL.git
synced 2026-10-08 04:00:20 +00:00
Refactor RobotLangVisitorUser to improve student ID extraction and clean up code
This commit is contained in:
1 parent
ad6935723e
commit
99e8b68078
3 files changed
+2
-9
No files matched your search
@@ -18,6 +18,6 @@ logStat: 'LOG' STRING ';' ;
|
||||
repeatStat: 'REPEAT' NUMBER '{' stat+ '}' ;
|
||||
|
||||
ID_PREFIX: '// STUDENT ID:' ;
|
||||
NUMBER: [1-9]+ ;
|
||||
NUMBER: [0-9]+ ;
|
||||
STRING: '"' .*? '"' ;
|
||||
WS: [ \t\r\n]+ -> skip ;
|
||||
Reference in new issue
Block a user