Browse code

script: more error messages on EOF

Andrei Pelinescu-Onciul authored on 29/11/2008 14:58:14
Showing 1 changed files
... ...
@@ -911,6 +911,21 @@ EAT_ABLE	[\ \t\b\r]
911 911
 											LOG(L_CRIT, "ERROR: unexpected EOF:"
912 912
 														"comment line open\n");
913 913
 											break;
914
+										case  ATTR_S:
915
+											LOG(L_CRIT, "ERROR: unexpected EOF"
916
+													" while parsing"
917
+													" avp name\n");
918
+											break;
919
+										case PVAR_P_S: 
920
+											LOG(L_CRIT, "ERROR: unexpected EOF"
921
+													" while parsing pvar name"
922
+													" (%d paranthesis open)\n",
923
+													p_nest);
924
+											break;
925
+										case AVP_PVAR_S:
926
+											LOG(L_CRIT, "ERROR: unexpected EOF"
927
+													" while parsing"
928
+													" avp or pvar name\n");
914 929
 									}
915 930
 									return 0;
916 931
 								}