[Pyparsing] better focused observation ... Re: need help building parsing framework for disability
Brought to you by:
ptmcg
From: Eric S.. J. <es...@es...> - 2012-09-16 18:10:27
|
focusing on one line line 43 in the example... line: [hidden [id active_user][name active_user] [value [reveal active_user]]] log: Match argword at loc 962(43,2) Matched argword -> ['hidden'] Match keyword at loc 970(43,10) Matched keyword -> ['id'] Match arg at loc 973(43,13) Exception raised:Expected "[" (at char 973), (line:43, col:13) Match keyword at loc 986(43,26) Matched keyword -> ['name'] Match arg at loc 991(43,31) Exception raised:Expected "[" (at char 991), (line:43, col:31) Match keyword at loc 1005(43,45) Matched keyword -> ['value'] Match arg at loc 1011(43,51) Match argword at loc 1012(43,52) Matched argword -> ['reveal'] Matched arg -> [['reveal', ['active_user']]] Match arg at loc 1031(43,71) Exception raised:Expected "[" (at char 1031), (line:43, col:71) Matched arg -> [['hidden', [['id', [], ['active_user']], ['name', [], ['active_user']], ['value', [['reveal', ['active_user']]], []]]]] Match arg at loc 1033(43,1) Exception map: [hidden [id active_user][name active_user] [value [reveal active_user]]] * * * * marks where an exception was thrown what should I be looking at? My problem does not seem to be covered in the mini-ebook I bought (yes, I bought, not bootlegged). |